Product : Hydra 6
We have found a problem with loading a DLL from the following scenario:
Load module L30.DLL by calling LoadModule(‘L30.dll’)
This works fine and the DLL is loaded
Within the applciation TSaveDialog is used to set a directory to save an Excel spreadsheet. This changes the current directory. (GetCurrentDIR shows it has changed)
Close the dll.
Now when L30.DLL is loaded again LoadModule(‘L30.dll’) it fails saying that it cannot find the dll with the error message stating that it is looking in the directory set by TSaveDialog above.
Do we need to give the full path of the DLL or is there an alternitive method to fix it?