VS's /CLR with Irrlicht?

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
Apoptyzm
Posts: 19
Joined: Tue Sep 23, 2008 7:53 pm

VS's /CLR with Irrlicht?

Post by Apoptyzm »

Helloo,
can i use Irrlicht with Microsoft's /CLR runtime? How(;))?
i can't include irrlicht into CLR windows application beacause of
http://msdn.microsoft.com/en-us/library/0adb9zxe.aspx
#pragma unmanaged
in Irr headers or something.
Strong99
Admin
Posts: 687
Joined: Fri Mar 31, 2006 7:06 pm
Location: Netherlands
Contact:

Post by Strong99 »

As far as I know, its possible. You can include unmanaged code inside managed code but not the other way. An important option in VS is to turn off /clr:safe or /clr:pure and use /clr instead. (I use this construction)

The thing I did for my GameCreator application is using an third class which manages Irrlicht and window ids which is run in a separate thread. It overcomes most of the managed and unmanaged code issues for mixing.
Post Reply