By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,305 Members | 1,706 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,305 IT Pros & Developers. It's quick & easy.

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

P: n/a
// 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.

Jul 22 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
What is your question about C++?

"Alex Sedow" <al*******@mail.ru> wrote in message
news:br**********@gavrilo.mtu.ru...
// 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.

Jul 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.