A
Andre
Hi,
I have a problem with calling a managed C++ function from C#.
The function in C++ looks like Class::Func(char* Text)
this function is compiled to an DLL and this DLL is referenced in my
C# project and I can see that I could call this function like
Func(sbyte* ).
I created a sbyte[] mytext = new sbyte[20];
So how can I pass this to the C++ function?
The compiler always give me an compileerror that it cannot convert
from sbyte* and sbyte[].
Thanks
André Betz
http://www.andrebetz.de
I have a problem with calling a managed C++ function from C#.
The function in C++ looks like Class::Func(char* Text)
this function is compiled to an DLL and this DLL is referenced in my
C# project and I can see that I could call this function like
Func(sbyte* ).
I created a sbyte[] mytext = new sbyte[20];
So how can I pass this to the C++ function?
The compiler always give me an compileerror that it cannot convert
from sbyte* and sbyte[].
Thanks
André Betz
http://www.andrebetz.de