>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