C# Interop with dll
- by Jim Jones
Using VS2008 C#
am attempting to interop a C++ dll.
Have a C++ class constructor:
make_summarizer(const char* rdir, const char* lic, const char* key);
Need to retain a reference to the object that is created so I can use it in a follow-on function.
When I did this in JNI the c code was:
declare a static pointer to the object:
static…