Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Un-Declare?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00673015
Message ID:
00673019
Views:
27
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform