I've been having problems trying to get DirectMusic to work with Irrlicht. I've created a music class that compiles ok with no errors, only when I include the Header file into another .cpp file that uses the Irrlicht header file, I get like 104 errors
Is there a compatibility issue or am I just doing something wrong.
i had the same problem when went to use direct show.
there is a conflict with the IUnknown class because directx use a class name IUnknown to.
so i have change all the unknown to unknown1 in irrlircht source and recompile the source code of irrlicht to recreate a new dll and lib, after that , no problem because irrlicht use IUnknown1, but i must recompile the source code with this trick every new version... someone maybe have another tips?
-----------------------------
Sans danger, pas de gloire...
http;//bappy.free.fr
-----------------------------
bappy, could this be resolved by referencing the IUnknown class as "irr::IUnknown"? I wouldn't think the DirectMusic class libs would have an irr namespace also. If you could do that it would save from having to modify/recompile the entire Irrlicht source. I could be wrong , but that sounds like it would work to me.
well , i prefer use namespace instead of using long path and recompile the source one time (it take me 30 sec to change all IUnknown and recompile it).
by the way , at each new release i recompile the lib to have visual 7 optimisation so... doesnt matter to me
-----------------------------
Sans danger, pas de gloire...
http;//bappy.free.fr
-----------------------------