string to CString conversion error
Posted on 2006-06-27
I have an C++ unmanaged dll that has a method signature like:
void DoConversion(CString videoIn, CString videoOut)
I am building a VC++.NET managed wrapper class for this dll. It has the following method:
static void convertd(CString, CString );
The final C#.Net call should look something like this:
I am very new to the unmanaged and managed wrappers and all this stuff. It gives me error when I try to pass string values to CString type.
Does anyone know how to go about this whole thing?