How can I release an Unhandled ErrorHandler
Posted on 2009-04-20
I am attempting to pass the value of a variable called glInitials from my main program to my UnhandledErrorHandler function in a linked Class Library to be included in file naming for an attachment that will be sent to my developers. We have no problem passing glInitials but until a user completes my login form glInitials is set to nothing.
I want to continue loading my UnhandledErrorHandler on startup but I also want to be able to "re-initialize" the same Handler with updated glInitials after the login.
Can I simply create a new entry upon login as I do on startup or do I need to release (if I can) the ErrorHandler and then initialize it again ??
Please help. Thanks in advance.