>Is it a bad practice to leave a Windows API declaration open (eg, no CLEAR DLL) through the life of a session. From time to time, the APP will need to re-issue the function. Should it be CLEARed after being issued, and then re-declared. Or - can I just leave the reference open?
>
>Thanks
Terry,
My friend David Frankenbach pointed out that there is a miniscule amount of overhead in not using CLEAR DLLS. However, I should mention that this point was made prior to 7.0, which allows you release specific DLLS.
In this case, I fall back on what I call "Mom's Rule". "Put things back the way you found them." These days I tend to declare and release DLLs in the same method.
George
Ubi caritas et amor, deus ibi est