atlcom.h include file

R

raghu

Hello,
I tried to use CComObject<pmsOrder>::CreateInstance() function in
C++/COM application. I included <atlbase.h> <atlcom.h >. I am getting
following compilation error. Please suggest which header file needs to be
included or should I need to give some compiler flags

C:\Program Files\Microsoft Visual Studio
..NET\Vc7\atlmfc\include\atlcom.h(2516)
: error C2065: '_InternalQueryInterface' : undeclared identifier
C:\Program Files\Microsoft Visual Studio
..NET\Vc7\atlmfc\include\atlcom.
h(2516) : while compiling class-template member function 'HRESULT
ATL::CComObjec
t<Base>::QueryInterface(const IID &,void ** )'
 
H

Howard

raghu said:
Hello,
I tried to use CComObject<pmsOrder>::CreateInstance() function in
C++/COM application. I included <atlbase.h> <atlcom.h >. I am getting
following compilation error. Please suggest which header file needs to be
included or should I need to give some compiler flags

C:\Program Files\Microsoft Visual Studio
.NET\Vc7\atlmfc\include\atlcom.h(2516)
: error C2065: '_InternalQueryInterface' : undeclared identifier
C:\Program Files\Microsoft Visual Studio
.NET\Vc7\atlmfc\include\atlcom.
h(2516) : while compiling class-template member function 'HRESULT
ATL::CComObjec
t<Base>::QueryInterface(const IID &,void ** )'

You'll need to ask this on a microsoft newsgroup. [news.microsoft.com is
their server name]

-Howard
 

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

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,151
Latest member
JaclynMarl
Top