... opened meanwhile you are using them, from one call to another. The way to solve it is to previously load the DLL: local hDLL := LoadLibrary( <cDLLName.dll> ) ... make your DLL functions calls ... FreeLibrary( hDLL ) Please try it this way and you should not get any GPF at all, thanks