>I was wondering how best to handle several DLLs that could be called (DECLARE INTEGER somecall in mything.dll...) a number of times but only if the user runs that part of my program. There appears to be no way to tell if the DLL is already loaded without doing a LIST DLLS to a file and then reading the file. I don't want to CLEAR DLLS because that takes All DLLs out. I don't appear to be having any problems with loading the DLLs each time at the top of the module that uses them even though this happens many times during the day. I don't want to call them at the entry of the entire program because many users will never use them.
>
>Is there any problem just reloading even though they are already loaded each time I need them? Any thoughts in general are welcome.
>TIA
>
>John.
What version of VFP are you running? If 7.0 or 8.0, there's the ADLLS() function to do this.
George
Ubi caritas et amor, deus ibi est