I was lately interested in creating dll from C++ and using the functions in C#, I've came across one tutorial where the guy is creating dll in C++ and using them in another c++ project with VS 2003.
I've tried the same with my VS 2005 but I didn't worked! I was misssing this .lib file (that this guy from tutorial copies and paste together with the lib file to the project where u use the dll functions) my VS 2005 is not creating .lib files :cry:
I'm tired searching stuff on the internet (couldn't find something that really shows you on how to), I would be very appreciative is some could explain me in steps on how to use dll functions in C# as well how to create proper dll file from C++.
by the way what do we need .lib file for? is it sort of linking the resource to the new project kinda making aware the compiler where to look for the function?
1. if I create just UI with C# and all functionality of application in C++ and the use the functions in C# with dll would this make my app faster (meaning that c++ will compile natively)??
2. when one would use MFC :o ?
thanx million times,