IUnknown is ambiguous

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
[ds] Swift
Posts: 20
Joined: Sun Nov 14, 2004 1:57 am
Location: Rochester, New York, USA

IUnknown is ambiguous

Post by [ds] Swift »

this really bugs me, whenever i have a header file that belongs to a microsoft library set, such as "Vwf.h" i get errors because the Microsoft SDK "Unknown.h" contains an IUknown class and so does the irr namespace.

is there any way to resolve this problem?
There's a crack in everything -- That's how the light gets in.
DarkWhoppy
Posts: 386
Joined: Thu Sep 25, 2003 12:43 pm
Contact:

Post by DarkWhoppy »

The IRR namespace should protect it from errors like that... so I guess you'll have to irr::STUFF to everything, eh?
Programmer of the Irrlicht Scene Editor:
Homepage - Forum Thread
Version 2 on its way!!
[ds] Swift
Posts: 20
Joined: Sun Nov 14, 2004 1:57 am
Location: Rochester, New York, USA

Post by [ds] Swift »

omg :shock: :shock: . this is gunna suck. it's gunna take forever to redo everything with the irr:: prefix.

o well, if i must :cry:
There's a crack in everything -- That's how the light gets in.
bal
Posts: 829
Joined: Fri Jun 18, 2004 5:19 pm
Location: Geluwe, Belgium

Post by bal »

Mwah, if you work with an IDE/text editor that has a replace funtion it goes quite fast :). Replace core:: with irr::core:: etc...
General Tools List
General FAQ
System: AMD Barton 2600+, 512MB, 9600XT 256MB, WinXP + FC3
Post Reply