VC6 -> VC8 CComModule

F

Fabiano Maciel

Hi,

I'm porting one of the dll from vc6 to vc8 and I have one problema about
CComModule.

My code use in stdafx.h:

extern CComModule _Module

and in my main module I use:
CComModule _Module;

but when i compile my code, i have the erros messages:

3>c:\temp\driverplc\driverplcs7\s7tcp\stdafx.h(24) : error C2146: syntax
error : missing ';' before identifier '_Module'
3>c:\temp\driverplc\driverplcs7\s7tcp\stdafx.h(24) : error C4430: missing
type specifier - int assumed. Note: C++ does not support default-int
3>c:\temp\driverplc\driverplcs7\s7tcp\stdafx.h(24) : error C4430: missing
type specifier - int assumed. Note: C++ does not support default-int

Can help me?

thanks.

--

______________________________________
Fabiano de Souza Maciel
Microsoft MCSD, MCDBA, MCP
fabiano_maciel at hotmail.com
______________________________________
 
F

Fabiano Maciel

One Correction:

in stdafx.h my code:

extern CComModule _Module;

thanks.

--

______________________________________
Fabiano de Souza Maciel
Microsoft MCSD, MCDBA, MCP
fabiano_maciel at hotmail.com
______________________________________
 
B

Brian Muth

This has been answered in microsoft.public.vc.atl. Please don't multipost;
it is considered bad netiquette. Crosspost instead.

Brian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top