Hi Larry,
>Thanks for your feedback and thoughts.
no problem!
>Putting the code in the init() worked fine, although I kept getting a "Unknown member ." message on the This.Cleanup() line. I commented out this line and it seems to work fine now. Will I be screwing something up if the Cleanup() does not run?
Usually you shouldn't get that error ... Is the cleanup method hidden in your application class? Or are you getting the error inside of the cleanup method?
But to answer your question: I don't think that it will do any harm, if your application terminates without any errors - what it does. So everything should be fine. I would have to have a look into the code to find out what exactly happens in the Cleanup(). So just leave your code how and where it is working ;-)
Regards,
Armin