ambiguous type

A

--== Alain ==--

Hi,

Under VC++.net, if i include windows.h, and compile my application, i
have several data types ambiguous, like IDataObject, IMessageFilter,
IDropTarget,...

so it means that they are defined in windows.h but also in some other
namespaces.

how can i do to still have my windows.h included and avoiding ambiguous
definition ? and thus without undefining all ambiguous data type ?

thx.

Alain
 
C

Carl Daniel [VC++ MVP]

--== Alain ==-- said:
Hi,

Under VC++.net, if i include windows.h, and compile my application, i
have several data types ambiguous, like IDataObject, IMessageFilter,
IDropTarget,...

so it means that they are defined in windows.h but also in some other
namespaces.

how can i do to still have my windows.h included and avoiding
ambiguous definition ? and thus without undefining all ambiguous data
type ?

Please don't multi-post (cross-post instead). See my reply in
..dotnet.framework.

-cd
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top