Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / .NET SDK / March 2004

Tip: Looking for answers? Try searching our database.

'IDataObject' : ambiguous symbol

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
EHuq - 04 Mar 2004 05:16 GMT
Hi there

I am facing a problem. When I include my unmanaged header file in my form1.h file, I am facing the compile error with the following messag

C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\ObjIdl.h(7408) : error C2872: 'IDataObject' : ambiguous symbo
       could be 'C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\ObjIdl.h(246) : System::Windows::Forms::IDataObject IDataObject
       or       'Form1.cpp(0) : System::Windows::Forms::IDataObject

I tried to solve this problem last 3 hours but failed
I need the solusion as soon as possible. Anybody can help me?

Regards
EHu
Heath Stewart - 04 Mar 2004 07:03 GMT
Both the .NET Windows Forms and COM define an IDataObject interface that are
distinct. You should fully qualify this interface. If you mean to use the
.NET "version" of the IDataObject interface, use
System::Windows::Forms::IDataObject.

Signature

Heath Stewart, Microsoft MVP (C#)
Director of Technology
Proplanner
http://www.proplanner.com
Phone: 515-296-3232


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.