I have this super simple C# test function in a DLL within a class called "Program":
I've tried calling it these two ways - both with the "archive" path as well as the fully qualified path:
And both times, I get dialog boxes that have a blank "message".
What is the correct way to call this function?
Code:
public static string GetTheWordFive() { return "Five"; }
Code:
result1 = DLL.CallFunction(SessionVar.Expand("%AppFolder%\\EcFtpClient.dll"), "Program.GetTheWordFive", "", DLL_RETURN_TYPE_STRING, DLL_CALL_CDECL); Dialog.Message("Title One", result1); result2 = DLL.CallFunction("C:\\MyFiles\\EcFtpClient.dll", "Program.GetTheWordFive", "", DLL_RETURN_TYPE_STRING, DLL_CALL_CDECL); Dialog.Message("Title Two", result2);
What is the correct way to call this function?
Comment