&ô LoadDLL Version 1.10 05-Jun-2005 ô (C) Jon Ripley, 2005 /ô This code may be used and modified freely :ô 1.10 Updated based on suggestions by Richard Russell : ô FN_LoadDLL(dll$,call$) %ô Loads specified DLL into memory 2ô Returns the handle of the specified function Nô For subsequent requests for the same DLL you do not need to specify dll$ Ý ¤_LoadDLL(dll$,call$)  dll%:ê ret% :ç dll$="" "GetProcAddress", dll%, call$ ¸ ret%:=ret% $ "GetModuleHandle", dll$ ¸ dll% (ç dll%=0 "LoadLibrary",dll$ ¸ dll% 0 "GetProcAddress", dll%, call$ ¸ ret%:=ret% : ô FN_FreeDLL(dll$) 8ô Tidy up after using a DLL to save system resources Ý ò_FreeDLL(dll$) ê dll% $ "GetModuleHandle", dll$ ¸ dll%  "FreeLibrary",dll% á ÿÿ