Login Page - Create Account

Support Board


Date/Time: Sat, 27 Apr 2024 19:27:51 +0000



Post From: help on some basics of calling external DLL

[2018-04-16 17:36:56]
Andy Sureway - Posts: 93
Good morning, can I get some help on loading an external DLL file?

I have been following the following instructions.
ACSIL Programming Concepts: Making Function Calls to External DLLs

My specific questions are:
which of the following is correct, if the external dll name is MathLibrary.dll?
LoadLibrary("MathLibrary.dll")
LoadLibrary("MathLibrary")
LoadLibrary(TEXT("MathLibrary.dll"))
LoadLibrary(TEXT("MathLibrary"))
Where should I put Math.dll? Under the Data directory or the ACS_Source directory?

I have searched the support board, and hasn't find a similar topic down to this basic level. Thanks a lot!