>What kinda of overhead is realated to the declare statement. I use many api function within my apps and was wondering if it would be best to just declare all the functions at the start of the program and leave them declared, or declare and release them for each function that uses an API function, even though some custom functions and classes use the same api functions, like the registry reading functions.
>
Eric,
Not enough to worry about. With 7.0, however, you do have the capability of releasing specific DLLs. Therefore, you could simply declare them when necessary, and release them after you're done.
George
Ubi caritas et amor, deus ibi est