MSVC7: Comdef.h(266) - missing ')'

A

Alex Sedow

// Microsoft Visual Studio .NET\vc7\PlatformSDK\include\Comdef.h(266) -
missing ')'
// Microsoft Visual Studio .NET 2003\vc7\PlatformSDK\include\Comdef.h(266) -
missing ')'

#if !defined(_COM_SMARTPTR)
#if !defined(_INC_COMIP)
#include <comip.h>
#endif
#define _COM_SMARTPTR _com_ptr_t
#define _COM_SMARTPTR_LEVEL2 _com_IIID
#endif
#if defined(_COM_SMARTPTR)
#if !defined(_COM_SMARTPTR_TYPEDEF)
#if defined(_COM_SMARTPTR_LEVEL2 // line 266 - this line never compiled?
#define _COM_SMARTPTR_TYPEDEF(Interface, IID) \
typedef _COM_SMARTPTR<_COM_SMARTPTR_LEVEL2<Interface, &IID> > \
Interface ## Ptr
#else
#define _COM_SMARTPTR_TYPEDEF(Interface, IID) \
typedef _COM_SMARTPTR<Interface, &IID> \
Interface ## Ptr
#endif
#endif
#endif

Alex.
 
W

Walter Kalata

What is your question about C++?

Alex Sedow said:
// Microsoft Visual Studio .NET\vc7\PlatformSDK\include\Comdef.h(266) -
missing ')'
// Microsoft Visual Studio .NET
2003\vc7\PlatformSDK\include\Comdef.h(266) -
 

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

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top