In the dll
And in the test program
Function GetMyString:byte ptr() Local ls_msg:String = "Test de retour de valeur au format string" Return ls_msg.ToCString() End Function
And in the test program
Global GetMyString:byte ptr() = GetProcAddress ( Library , "GetMyString" ) ... DebugLog "GetMyString=" + String.FromCString(GetMyString())