However, I am having great difficulties in exporting (Returning from procedure) a string.
A code snippet is as follows:
Code: Select all
Global ReturnString.s
ProcedureDLL.s GetString() ;Create unicode executable gives only first character
ReturnString = "More then H"
ProcedureReturn ReturnString
EndProcedure
The declaration in my source code (Xojo) is:
Code: Select all
Declare Function GetString Lib libname As CString
Can anybody help me?