LibLoad


 

LibLoad>module_name,module_handle

 

Not supported in Macro Scheduler Lite.

 

Loads the DLL libary specified in module_name and returns a handle to the library which can be used in subsequent LibFunc calls.  Libraries loaded with LibLoad should always be freed with a call to LibFree after being used.

 

Abbreviation : LLD

See also: LibFunc, LibFree

 

Examples

 

LibLoad>user32,hDll

Let>WIN_USEHANDLE=1

GetActiveWindow>win,x,y

LibFunc>hDll,GetWindowTextLengthA,wtlen,win

Let>buffer_SIZE=wtlen

Let>wtlen=wtlen+1

LibFunc>hDll,GetWindowTextA,gwt,win,buffer,wtlen

MessageModal>Window Text: %gwt_2%

LibFree>hDll