thanks it work
Function GetMyStringC:Byte Ptr()
Local ls_msg:String = "Test de retour de valeur au format string"
Return ls_msg.ToCString()
End Function
Global GetMyStringC:Byte Ptr() = GetProcAddress ( Library , "GetMyStringC" )
DebugLog "GetMyStringC=" + String.FromCString(GetMyStringC())
DebugLog:GetMyStringC=Test de retour de valeur au format String
Function GetMyStringC:Byte Ptr()
Local ls_msg:String = "Test de retour de valeur au format string"
Return ls_msg.ToCString()
End Function
Global GetMyStringC:Byte Ptr() = GetProcAddress ( Library , "GetMyStringC" )
DebugLog "GetMyStringC=" + String.FromCString(GetMyStringC())
DebugLog:GetMyStringC=Test de retour de valeur au format String