L
Lio
Hi,
I have a Wrapper Class written in MC++:
__gc pabic class M_text
{
String* getText(String* str)
{
umt->umGetText(str)
}
UM_text* umt;
}
while UM_text defined like this
public class UM_text
{
char* umGetText(char* str)
}
so M_text is the wrapper of UM_text. now i want to use the M_text from C#
and send string object to the getText(String* str) function but i get error
saying that i cannot convert string to char*. there is no problem when i use
integers or booleans.
do you have any suggestions how can i send the string object of C# to the
function.
thanks a lot
Lio
I have a Wrapper Class written in MC++:
__gc pabic class M_text
{
String* getText(String* str)
{
umt->umGetText(str)
}
UM_text* umt;
}
while UM_text defined like this
public class UM_text
{
char* umGetText(char* str)
}
so M_text is the wrapper of UM_text. now i want to use the M_text from C#
and send string object to the getText(String* str) function but i get error
saying that i cannot convert string to char*. there is no problem when i use
integers or booleans.
do you have any suggestions how can i send the string object of C# to the
function.
thanks a lot
Lio