Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Un-Declare?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00673015
Message ID:
00673019
Vues:
25
>I have this declaration in my app, and after I am done I want to un-declare it to free up resources. What is syntax for that? I don't want to release everything because there are some declarations (like sleep) that I need to re-use everywhere.
>
>eg:
>declare integer sndPlaySound in winmm.dll string cSoundName, integer uFlags
>
>Thanks.

Depends on the version of VFP. In 6.0 there's only CLEAR DLLS, which wipes out all declarations. In 7.0, however, you can release specific dlls by using CLEAR DLLS < dll alias name >
George

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

Click here to load this message in the networking platform