(10-23-2009 12:35 PM)craksy Wrote: well the engine was made in C++, and (as far as i know) can only be used with C++....
i don't know what pinvoke is though, but i don't think it's possible :/
and exactly why would it be easier to create tools in C#?
One engine that uses this is (excample) Leadwerks Engine 2, wich has a c/c++ dll and using pinvoke inside a .cs file to be used by C#.
So, it is possible if i had a dll and time.
While, it inself its alot of work to make a .cs invoke file for Esenthel, creating tools in C# is alot faster simply because, well, it is.
Im not gonna respond to why, if you dont know, it okay, im not gonna start a C# vs C++ discussion, it was not the question
.
Also, there is a reason why big company's make tools in C# now, like patchers and more (though not engine related, as alot of work to make a engine dll's work with C# and all AAA engines are made in C++, so tons of work).
Anyways, just a question, as it would speed up me working on a editor if i could do it in C#.
Another excample that c++ in C# is possible
http://www.ogre3d.org/wiki/index.php/MOGRE