I have an open question in VC++.NET area. I got helped for part of the question. For the rest I need to post here. Below is the link to the question.
In short, I have an unmanaged dll in MFC C++ with signature
void DoConversion(const char* videoIn, const char* videoOut)
Then there is a managed wrapper class in C++.NET with function call like below
EntryPoint = "?convertd@Canothertestpro
CallingConvention = CallingConvention::ThisCal
static void convertd(const char* videoIn, const char* videoOut);
Now, I want to use this managed wrapper dll in my C# code with the signature as
void convertd(string, string).
But when I add the managed wrapper class as a reference, I get the signature as void convertd(sbyte*, sbyte*). I don't know why it needs that format. How do I manage this?
Please help. Thanks.