Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MySQL++ - Programming with the C++ API to MySQL
MaxDB - Everything about MaxDB, formerly known as SAP DB
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
mysql openssl Question
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
Update one field with more fields from another table
Getting Identity after INSERT
ERROR 2002: Can 't connect to local MySQL server through socket
mysql test 4 1 fails with the gis test
MySQL Cluster Software
Downgrade Mysql from 4 to 3 23
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Can 't access mysql after kernel upgrade
Executing MySQL Commands From Within C Program
Comparing and writing out BLOBS
Preventing Duplicate Entries
FULLTEXT query format question
Strange behavior, Table Level Permission
Does the binary log enabling affect the MySQL performances?
mysql:it 's a db not a dbms how it 's possible?!
mysql have same function mthod as Oracle decode()
 
-none-

-none-

2007-08-30       - By Efstratios Gavves

 Back
Hi.

I tried to develop a Windows Form Application using mysql++. At first,
there was no problem. I followed the instructions as described in the
Readme files and it did compiled at the start. There was no error.
Suddenly, after having three different forms, it produced multiple
errors.

These errors where:

C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7408) : error C2872: 'IDataObject' :
ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(246) :
System::Windows::Forms::IDataObject IDataObject'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDataObject'
1>C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7408) : error C3699: '*' : cannot
use this indirection on type 'IDataObject'
1>        compiler replacing '*' with '^' to continue parsing
1>C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7422) : error C2371: 'IDataObject' :
redefinition; different basic types
1>        C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(246) : see declaration of
'IDataObject'
1>C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7583) : error C2872: 'IDataObject' :
ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7422) : IDataObject'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDataObject'
1>C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7596) : error C2872: 'IDataObject' :
ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7422) : IDataObject'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDataObject'
1>C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7609) : error C2872: 'IDataObject' :
ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7422) : IDataObject'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDataObject'
1>C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7621) : error C2872: 'IDataObject' :
ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7422) : IDataObject'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDataObject'
1>C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7634) : error C2872: 'IDataObject' :
ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7422) : IDataObject'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDataObject'
1>C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7648) : error C2872: 'IDataObject' :
ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7422) : IDataObject'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDataObject'
1>C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7661) : error C2872: 'IDataObject' :
ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7422) : IDataObject'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDataObject'
1>C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7676) : error C2872: 'IDataObject' :
ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7422) : IDataObject'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDataObject'
1>C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7688) : error C2872: 'IDataObject' :
ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7422) : IDataObject'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDataObject'
1>C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7721) : error C2872: 'IDataObject' :
ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7422) : IDataObject'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDataObject'
1>C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7734) : error C2872: 'IDataObject' :
ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7422) : IDataObject'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDataObject'
1>C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7823) : error C2872: 'IDataObject' :
ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7422) : IDataObject'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDataObject'
1>C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7863) : error C2872: 'IDataObject' :
ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7422) : IDataObject'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDataObject'
1>C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7885) : error C2872:
'IMessageFilter' : ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(258) :
System::Windows::Forms::IMessageFilter IMessageFilter'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IMessageFilter'
1>C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7885) : error C3699: '*' : cannot
use this indirection on type 'IMessageFilter'
1>        compiler replacing '*' with '^' to continue parsing
1>C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7931) : error C2371:
'IMessageFilter' : redefinition; different basic types
1>        C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(258) : see declaration of
'IMessageFilter'
1>C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(8028) : error C2872:
'IMessageFilter' : ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7931) : IMessageFilter'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IMessageFilter'
1>C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(8043) : error C2872:
'IMessageFilter' : ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7931) : IMessageFilter'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IMessageFilter'
1>C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(8057) : error C2872:
'IMessageFilter' : ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7931) : IMessageFilter'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IMessageFilter'
1>C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(16030) : error C2872: 'IDataObject'
: ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7422) : IDataObject'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDataObject'
1>C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(16036) : error C2872: 'IDataObject'
: ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7422) : IDataObject'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDataObject'
1>C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(16041) : error C2872: 'IDataObject'
: ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7422) : IDataObject'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDataObject'
1>C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(16047) : error C2872: 'IDataObject'
: ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7422) : IDataObject'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDataObject'
1>C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(16052) : error C2872: 'IDataObject'
: ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7422) : IDataObject'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDataObject'
1>C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(16059) : error C2872: 'IDataObject'
: ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7422) : IDataObject'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDataObject'
1>c:\program files\microsoft visual studio
8\vc\platformsdk\include\oleidl.h(435) : error C2872: 'IDataObject' :
ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7422) : IDataObject'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDataObject'
1>c:\program files\microsoft visual studio
8\vc\platformsdk\include\oleidl.h(570) : error C2872: 'IDataObject' :
ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7422) : IDataObject'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDataObject'
1>c:\program files\microsoft visual studio
8\vc\platformsdk\include\oleidl.h(1416) : error C2872: 'IDataObject' :
ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7422) : IDataObject'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDataObject'
1>c:\program files\microsoft visual studio
8\vc\platformsdk\include\oleidl.h(1422) : error C2872: 'IDataObject' :
ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7422) : IDataObject'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDataObject'
1>c:\program files\microsoft visual studio
8\vc\platformsdk\include\oleidl.h(1760) : error C2872: 'IDataObject' :
ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7422) : IDataObject'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDataObject'
1>c:\program files\microsoft visual studio
8\vc\platformsdk\include\oleidl.h(1775) : error C2872: 'IDataObject' :
ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7422) : IDataObject'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDataObject'
1>c:\program files\microsoft visual studio
8\vc\platformsdk\include\oleidl.h(4408) : error C2872: 'IDropTarget' :
ambiguous symbol
1>        could be 'c:\program files\microsoft visual studio
8\vc\platformsdk\include\oleidl.h(168) :
System::Windows::Forms::IDropTarget IDropTarget'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDropTarget'
1>c:\program files\microsoft visual studio
8\vc\platformsdk\include\oleidl.h(4408) : error C3699: '*' : cannot
use this indirection on type 'IDropTarget'
1>        compiler replacing '*' with '^' to continue parsing
1>c:\program files\microsoft visual studio
8\vc\platformsdk\include\oleidl.h(4448) : error C2371: 'IDropTarget' :
redefinition; different basic types
1>        c:\program files\microsoft visual studio
8\vc\platformsdk\include\oleidl.h(168) : see declaration of
'IDropTarget'
1>c:\program files\microsoft visual studio
8\vc\platformsdk\include\oleidl.h(4452) : error C2872: 'IDataObject' :
ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7422) : IDataObject'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDataObject'
1>c:\program files\microsoft visual studio
8\vc\platformsdk\include\oleidl.h(4465) : error C2872: 'IDataObject' :
ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7422) : IDataObject'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDataObject'
1>c:\program files\microsoft visual studio
8\vc\platformsdk\include\oleidl.h(4555) : error C2872: 'IDropTarget' :
ambiguous symbol
1>        could be 'c:\program files\microsoft visual studio
8\vc\platformsdk\include\oleidl.h(4448) : IDropTarget'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDropTarget'
1>c:\program files\microsoft visual studio
8\vc\platformsdk\include\oleidl.h(4556) : error C2872: 'IDataObject' :
ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7422) : IDataObject'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDataObject'
1>c:\program files\microsoft visual studio
8\vc\platformsdk\include\oleidl.h(4570) : error C2872: 'IDropTarget' :
ambiguous symbol
1>        could be 'c:\program files\microsoft visual studio
8\vc\platformsdk\include\oleidl.h(4448) : IDropTarget'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDropTarget'
1>c:\program files\microsoft visual studio
8\vc\platformsdk\include\oleidl.h(4584) : error C2872: 'IDropTarget' :
ambiguous symbol
1>        could be 'c:\program files\microsoft visual studio
8\vc\platformsdk\include\oleidl.h(4448) : IDropTarget'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDropTarget'
1>c:\program files\microsoft visual studio
8\vc\platformsdk\include\oleidl.h(4595) : error C2872: 'IDropTarget' :
ambiguous symbol
1>        could be 'c:\program files\microsoft visual studio
8\vc\platformsdk\include\oleidl.h(4448) : IDropTarget'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDropTarget'
1>c:\program files\microsoft visual studio
8\vc\platformsdk\include\oleidl.h(4596) : error C2872: 'IDataObject' :
ambiguous symbol
1>        could be 'C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\objidl.h(7422) : IDataObject'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
System::Windows::Forms::IDataObject'
1>c:\program files\microsoft visual studio
8\vc\platformsdk\include\servprov.h(93) : error C2872:
'IServiceProvider' : ambiguous symbol
1>        could be 'c:\program files\microsoft visual studio
8\vc\platformsdk\include\servprov.h(48) : System::IServiceProvider
IServiceProvider'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll :
System::IServiceProvider'
1>c:\program files\microsoft visual studio
8\vc\platformsdk\include\servprov.h(93) : error C3699: '*' : cannot
use this indirection on type 'IServiceProvider'
1>        compiler replacing '*' with '^' to continue parsing
1>c:\program files\microsoft visual studio
8\vc\platformsdk\include\servprov.h(100) : error C2371:
'IServiceProvider' : redefinition; different basic types
1>        c:\program files\microsoft visual studio
8\vc\platformsdk\include\servprov.h(48) : see declaration of
'IServiceProvider'
1>c:\program files\microsoft visual studio
8\vc\platformsdk\include\servprov.h(117) : error C2872:
'IServiceProvider' : ambiguous symbol
1>        could be 'c:\program files\microsoft visual studio
8\vc\platformsdk\include\servprov.h(100) : IServiceProvider'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll :
System::IServiceProvider'
1>c:\program files\microsoft visual studio
8\vc\platformsdk\include\servprov.h(231) : error C2872:
'IServiceProvider' : ambiguous symbol
1>        could be 'c:\program files\microsoft visual studio
8\vc\platformsdk\include\servprov.h(100) : IServiceProvider'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll :
System::IServiceProvider'
1>c:\program files\microsoft visual studio
8\vc\platformsdk\include\servprov.h(238) : error C2872:
'IServiceProvider' : ambiguous symbol
1>        could be 'c:\program files\microsoft visual studio
8\vc\platformsdk\include\servprov.h(100) : IServiceProvider'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll :
System::IServiceProvider'
1>C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\urlmon.h(5174) : error C2872:
'IServiceProvider' : ambiguous symbol
1>        could be 'c:\program files\microsoft visual studio
8\vc\platformsdk\include\servprov.h(100) : IServiceProvider'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll :
System::IServiceProvider'
1>C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include\urlmon.h(5176) : error C2872:
'IServiceProvider' : ambiguous symbol
1>        could be 'c:\program files\microsoft visual studio
8\vc\platformsdk\include\servprov.h(100) : IServiceProvider'
1>        or
'c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll :
System::IServiceProvider'





Do you know whats going on?
Stratis



--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe:    http://lists.mysql.com/plusplus?unsub=mysql@(protected)