Wrox Programmer Forums
|
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 4th, 2006, 07:49 AM
Registered User
 
Join Date: Jan 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default VC++ 6

I got a compiled error but can't figure out why and how to fix it. Would anyone have any idea for following error message and what is it mean?

c:\program files\microsoft visual studio\vc98\include\comip.h(690) : error C2227: left of '->QueryInterface' must point to class/struct/union
        c:\program files\microsoft visual studio\vc98\include\comip.h(75) : see reference to function template instantiation 'long __thiscall _com_ptr_t<class _com_IIID<struct ADODB::_Connection,&struct __s_GUID _GUID_00000550_0000_0010_8000_00aa006
d2ea4> >::_QueryInterface(const enum TransType &)' being compiled
FlightDataDb.cpp
c:\program files\microsoft visual studio\vc98\include\comip.h(690) : error C2227: left of '->QueryInterface' must point to class/struct/union
        c:\program files\microsoft visual studio\vc98\include\comip.h(75) : see reference to function template instantiation 'long __thiscall _com_ptr_t<class _com_IIID<struct ADODB::_Connection,&struct __s_GUID _GUID_00000550_0000_0010_8000_00aa006
d2ea4> >::_QueryInterface(const enum TransType &)' being compiled
Generating Code...
Error executing cl.exe.

ContactDbGenTool.exe - 2 error(s), 0 warning(s)

Please response to my email [email protected]

Thank you in advance.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Help us in VC++ MMazhar Visual C++ 0 December 10th, 2005 03:49 PM
VC++ .NET mindyjeanne Visual C++ 1 August 22nd, 2005 02:22 PM
convert VC++ 5.0 project to VC++ 6.0 MIDL ERR mdahd90943 Visual C++ 0 May 26th, 2005 08:57 AM
Ping in VC++6 Charley Visual C++ 0 May 13th, 2004 09:28 AM
VC++ and ADO xgbnow Visual C++ 1 March 12th, 2004 01:36 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.