Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine if a DLL is registered
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00220041
Message ID:
00220210
Vues:
24
>Does anyone know of an API or other routine, from
>within a VFP app, to determine if a DLL is loaded?

Hi Kevin,

AFAIK, there's no easy way to do it. You have to track this yourself if you're using API calls. When using API calls, I generally try to determine whether or not the object is going to persist through the run time of the app. If it is, then each DLL is declared by the function that uses it. If it's only going to be used for a brief period of time, then the calls are declared in the Init. I used CLEAR DLLS in the object's .Destroy method, regardless, to clean things up. I haven't had a problem yet with this particular technique.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform