anyone knows the best way to convert char* to B4RString* ??
I need to send back to B4R this string, but is coming in char* format
and on B4R I have:
I need to send back to B4R this string, but is coming in char* format
B4X:
myLib.onState([](const char * name)
{
b4r_main::_mysub(name); <=== this is incorrect!
}
and on B4R I have:
B4X:
Sub MySub(pText As String)
Log(pText)
End Sub