ownsun
06-08-2010 10:42:01
hey guys ,i am writing an editor these days ,the editor is made by winform,so i wrap ogre myself without using Mogre(maybe it's the begining of the eveil things!!).I do this because the company had it's own native ogre render function soI just need to wrap some method and do the rendering job in the C# layer via Clr.
I had a successful editor using this way in my privious company .But I found it didn't work well now!!
i write a clr project and then #include "Ogre.h",compile it into a DLL and add a reference in winform project.and i use the namespace ,new a wrappered class in it.Then I run the problem and an exception throwed:
System.IO.FileNotFoundException....
It's really weird!!!!!!!!
lol!!!Anybody could give me a help?!my project is stucked here!
BTW:I am using x86 and visual studio 2008 and win7 and i had 1tried it on the enviroment of vs2005 and winxp,and I had tried MogreSDK_1.4.8 and ogre_src_v1-7-1,neither of them work!!!!
I had a successful editor using this way in my privious company .But I found it didn't work well now!!
i write a clr project and then #include "Ogre.h",compile it into a DLL and add a reference in winform project.and i use the namespace ,new a wrappered class in it.Then I run the problem and an exception throwed:
System.IO.FileNotFoundException....
It's really weird!!!!!!!!
lol!!!Anybody could give me a help?!my project is stucked here!
BTW:I am using x86 and visual studio 2008 and win7 and i had 1tried it on the enviroment of vs2005 and winxp,and I had tried MogreSDK_1.4.8 and ogre_src_v1-7-1,neither of them work!!!!