This was working very well, but since .cpp file got overwritten with what was in .h file, everything just went crazy. I make a dll in managed C++ in VS2005.
.h file:
Code:namespace DetectorInterface { public ref class DetInt { public: __declspec (dllexport) bool nonsense (); }; }
.cpp file:
Code:namespace DetectorInterface { public ref class DetInt { bool nonsense () { return false; } }; }
I have added a C# program to the DLL, and applied using DetectorInterface.
When can I do DetInt detector = new DetInt ();. Everything hurt well so far. But I could not find a feature that is defined.
Bookmarks