Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0AA2

Opcode Database

0AA2

DescriptionLoads a DLL library and stores the handle to it to a varaible. This opcode can be used as a condition: if the library does not loaded, it returns False, otherwise it's True.

Parameters:
1 = variable to store the handle to a library (any variable or array item)
2 = a library name. If the path is relative (without specifying of a disk name), the DLL file is searched relatively of the current active directory (opcode 0A99). If the file extension is not specified, the default extension will be used (.DLL).
Parameters (v2)1) File path (Long String) (STRING)
2) (Returned) Memory address (Integer) (INT)
Gamessa
CategoryCLEO 3
San Andreas
sascm.ini0AA2=2, load_dynamic_library %1s% store_to %2h%
Example0AA2: load_dynamic_library "CLEO\version.dll" store_to 0@
Command NameLOAD_DYNAMIC_LIBRARY

<< 0AA1

0AA3 >>