List:MySQL++« Previous MessageNext Message »
From:manish Date:September 15 2008 3:06pm
Subject:windows form with mysql++
View as plain text  
Dear 
       I ran example program of windows form.It runs and executed cleanely.But when we use
the same library for link to my other code it gives me the following error.






------ Build started: Project: windows_form1, Configuration: Debug Win32 ------

1>Compiling...

1>windows_form1.cpp

1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(5934) : error C2872:
> 'IDataObject' : ambiguous symbol

1> could be 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(251) :
> 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 SDKs\Windows\v6.0A\include\objidl.h(5934) : error C3699:
> '*' : cannot use this indirection on type 'IDataObject'

1> compiler replacing '*' with '^' to continue parsing

1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(5948) : error C2371:
> 'IDataObject' : redefinition; different basic types

1> C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(251) : see
> declaration of 'IDataObject'

1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(6110) : error C2872:
> 'IDataObject' : ambiguous symbol

1> could be 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(5948) :
> IDataObject'

1> or 'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
> System::Windows::Forms::IDataObject'

1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(6123) : error C2872:
> 'IDataObject' : ambiguous symbol

1> could be 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(5948) :
> IDataObject'

1> or 'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
> System::Windows::Forms::IDataObject'

1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(6136) : error C2872:
> 'IDataObject' : ambiguous symbol

1> could be 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(5948) :
> IDataObject'

1> or 'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
> System::Windows::Forms::IDataObject'

1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(6171) : error C2872:
> 'IDataObject' : ambiguous symbol

1> could be 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(5948) :
> IDataObject'

1> or 'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
> System::Windows::Forms::IDataObject'

1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(6184) : error C2872:
> 'IDataObject' : ambiguous symbol

1> could be 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(5948) :
> IDataObject'

1> or 'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
> System::Windows::Forms::IDataObject'

1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(6282) : error C2872:
> 'IMessageFilter' : ambiguous symbol

1> could be 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(263) :
> 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 SDKs\Windows\v6.0A\include\objidl.h(6282) : error C3699:
> '*' : cannot use this indirection on type 'IMessageFilter'

1> compiler replacing '*' with '^' to continue parsing

1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(6328) : error C2371:
> 'IMessageFilter' : redefinition; different basic types

1> C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(263) : see
> declaration of 'IMessageFilter'

1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(12671) : error C2872:
> 'IDataObject' : ambiguous symbol

1> could be 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(5948) :
> IDataObject'

1> or 'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
> System::Windows::Forms::IDataObject'

1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(12677) : error C2872:
> 'IDataObject' : ambiguous symbol

1> could be 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(5948) :
> IDataObject'

1> or 'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
> System::Windows::Forms::IDataObject'

1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(12682) : error C2872:
> 'IDataObject' : ambiguous symbol

1> could be 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(5948) :
> IDataObject'

1> or 'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
> System::Windows::Forms::IDataObject'

1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(12688) : error C2872:
> 'IDataObject' : ambiguous symbol

1> could be 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(5948) :
> IDataObject'

1> or 'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
> System::Windows::Forms::IDataObject'

1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(12693) : error C2872:
> 'IDataObject' : ambiguous symbol

1> could be 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(5948) :
> IDataObject'

1> or 'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
> System::Windows::Forms::IDataObject'

1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(12700) : error C2872:
> 'IDataObject' : ambiguous symbol

1> could be 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(5948) :
> IDataObject'

1> or 'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
> System::Windows::Forms::IDataObject'

1>c:\program files\microsoft sdks\windows\v6.0a\include\oleidl.h(374) : error C2872:
> 'IDataObject' : ambiguous symbol

1> could be 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(5948) :
> IDataObject'

1> or 'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
> System::Windows::Forms::IDataObject'

1>c:\program files\microsoft sdks\windows\v6.0a\include\oleidl.h(1151) : error C2872:
> 'IDataObject' : ambiguous symbol

1> could be 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(5948) :
> IDataObject'

1> or 'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
> System::Windows::Forms::IDataObject'

1>c:\program files\microsoft sdks\windows\v6.0a\include\oleidl.h(1157) : error C2872:
> 'IDataObject' : ambiguous symbol

1> could be 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(5948) :
> IDataObject'

1> or 'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
> System::Windows::Forms::IDataObject'

1>c:\program files\microsoft sdks\windows\v6.0a\include\oleidl.h(3288) : error C2872:
> 'IDropTarget' : ambiguous symbol

1> could be 'c:\program files\microsoft sdks\windows\v6.0a\include\oleidl.h(173) :
> 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 sdks\windows\v6.0a\include\oleidl.h(3288) : error C3699:
> '*' : cannot use this indirection on type 'IDropTarget'

1> compiler replacing '*' with '^' to continue parsing

1>c:\program files\microsoft sdks\windows\v6.0a\include\oleidl.h(3328) : error C2371:
> 'IDropTarget' : redefinition; different basic types

1> c:\program files\microsoft sdks\windows\v6.0a\include\oleidl.h(173) : see
> declaration of 'IDropTarget'

1>c:\program files\microsoft sdks\windows\v6.0a\include\oleidl.h(3332) : error C2872:
> 'IDataObject' : ambiguous symbol

1> could be 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(5948) :
> IDataObject'

1> or 'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
> System::Windows::Forms::IDataObject'

1>c:\program files\microsoft sdks\windows\v6.0a\include\oleidl.h(3345) : error C2872:
> 'IDataObject' : ambiguous symbol

1> could be 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(5948) :
> IDataObject'

1> or 'c:\windows\microsoft.net\framework\v2.0.50727\system.windows.forms.dll :
> System::Windows::Forms::IDataObject'

1>c:\program files\microsoft sdks\windows\v6.0a\include\servprov.h(96) : error C2872:
> 'IServiceProvider' : ambiguous symbol

1> could be 'c:\program files\microsoft sdks\windows\v6.0a\include\servprov.h(53) :
> System::IServiceProvider IServiceProvider'

1> or 'c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll :
> System::IServiceProvider'

1>c:\program files\microsoft sdks\windows\v6.0a\include\servprov.h(96) : error C3699:
> '*' : cannot use this indirection on type 'IServiceProvider'

1> compiler replacing '*' with '^' to continue parsing

1>c:\program files\microsoft sdks\windows\v6.0a\include\servprov.h(103) : error C2371:
> 'IServiceProvider' : redefinition; different basic types

1> c:\program files\microsoft sdks\windows\v6.0a\include\servprov.h(53) : see
> declaration of 'IServiceProvider'

1>c:\program files\microsoft sdks\windows\v6.0a\include\servprov.h(120) : error C2872:
> 'IServiceProvider' : ambiguous symbol

1> could be 'c:\program files\microsoft sdks\windows\v6.0a\include\servprov.h(103) :
> IServiceProvider'

1> or 'c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll :
> System::IServiceProvider'

1>c:\program files\microsoft sdks\windows\v6.0a\include\servprov.h(235) : error C2872:
> 'IServiceProvider' : ambiguous symbol

1> could be 'c:\program files\microsoft sdks\windows\v6.0a\include\servprov.h(103) :
> IServiceProvider'

1> or 'c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll :
> System::IServiceProvider'

1>c:\program files\microsoft sdks\windows\v6.0a\include\servprov.h(242) : error C2872:
> 'IServiceProvider' : ambiguous symbol

1> could be 'c:\program files\microsoft sdks\windows\v6.0a\include\servprov.h(103) :
> IServiceProvider'

1> or 'c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll :
> System::IServiceProvider'

1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\urlmon.h(5854) : error C2872:
> 'IServiceProvider' : ambiguous symbol

1> could be 'c:\program files\microsoft sdks\windows\v6.0a\include\servprov.h(103) :
> IServiceProvider'

1> or 'c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll :
> System::IServiceProvider'

1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\urlmon.h(5856) : error C2872:
> 'IServiceProvider' : ambiguous symbol

1> could be 'c:\program files\microsoft sdks\windows\v6.0a\include\servprov.h(103) :
> IServiceProvider'

1> or 'c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll :
> System::IServiceProvider'

1>Build log was saved at "file://c:\Documents and Settings\Innoviti Bangalore\My
> Documents\Visual Studio 2008\Projects\window_form\windows_form1\Debug\BuildLog.htm"

1>windows_form1 - 33 error(s), 0 warning(s)

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========







Can any body suggest what is the error in setting the file.


Thread
windows form with mysql++manish15 Sep
  • Re: windows form with mysql++MickaĆ«l Wolff16 Sep