S
Steve Strommen
Every time I add a particular form to my VS 2003 C++ project, the project
can no longer compile. The error message indicates an ambiguity because
IDataObj is defined both in System::Windows::Forms and also in objdl.h.
I have no idea why objidl.h is being included in my project, but it must
have something to do with the objects in my form other than controls. There
are no COM objects involved.
The problem line in objidl.h is line 7408:
typedef /* [unique] */ IDataObject *LPDATAOBJECT;
Can anyone help me get past this compiler error? And maybe explain how
objidl.h gets included in my project?
Thanks for any help.
can no longer compile. The error message indicates an ambiguity because
IDataObj is defined both in System::Windows::Forms and also in objdl.h.
I have no idea why objidl.h is being included in my project, but it must
have something to do with the objects in my form other than controls. There
are no COM objects involved.
The problem line in objidl.h is line 7408:
typedef /* [unique] */ IDataObject *LPDATAOBJECT;
Can anyone help me get past this compiler error? And maybe explain how
objidl.h gets included in my project?
Thanks for any help.