Anita,
I just leave them declared for the life of the program. If it's a Win32API dll I doubt there's a significant memory hit to just leave them. If you have a class that needs them call a method to do the DECLAREs and set a flag if you want indicating the functions are declared. You could use DISPLAY DLL to file and parse the result and build your own ADLL() function.
>How to check whether a DLL function (Win32API function) is already declared or not ? Also how to clear a single DLL declaration in case you have many active DLL functions? I am aware of "clear dll" which clears all the declared DLL functions.
>Your comment on how to organize declaring and clearing of WinAPI functions will be highly appreciated.