Question Locked

using ATL COM with VC++ 2008 express edition

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi All,

I am working on Windows server 2003 R2 with VC++ 2008 express edition. I am writing a program in VC 9.0, which uses ATL COM components. While compiling the project,I am getting following errors.

Note: including file: c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll
Note: including file: c:\windows\assembly\gac_msil\system.core\3.5.0.0__b77a5c561934e089\system.core.dll
C:\WINDDK\3790.1830\inc\atl21\atlcom.h(80) : error C2039: 'GetResourceInstance' : is not a member of 'System::Int32'
c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Int32'
C:\WINDDK\3790.1830\inc\atl21\atlcom.h(84) : error C2039: 'GetResourceInstance' : is not a member of 'System::Int32'
c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Int32'
C:\WINDDK\3790.1830\inc\atl21\atlcom.h(1182) : error C2039: 'CreateInstance' : is not a member of 'System::Int32'
c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Int32'
C:\WINDDK\3790.1830\inc\atl21\atlcom.h(1189) : error C2039: 'Lock' : is not a member of 'System::Int32'
c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Int32'
C:\WINDDK\3790.1830\inc\atl21\atlcom.h(1191) : error C2039: 'Unlock' : is not a member of 'System::Int32'
c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Int32'

Can anybody please suggest me how to get rid of these error or to what these error are related?
Any help is of great appreciation.

-Thanks,
rishita

2 replies

This discussion is closed to new replies.