|
Post by cherrycoke on Jul 6, 2003 19:18:12 GMT -5
I have been wrestling with trying to convert C++ ptr reference to C# application for use with DLL's. Here is the def and the CPP code from the MFC app. We are desparate in being able to make this work. See if you can figure it out...Thanks... // DECLARATION declspec(dllimport) void LIBCALL GetDllVersion(LPSTR strReturn); // CPP CODE char * pChar = strVersion.GetBuffer(5); GetDllVersion(pChar); strVersion.ReleaseBuffer();
|
|