Thursday, February 24, 2005

Throwing Exception from a DLL and be caught by the application which loads the DLL

First of all, give it up, it just doesn't work. Well, it kind of works and you can catch the exception from the application, but once your application finishes processing the exception, the application will crash. This is true no matter what exception you throw. Even if you just throw an integer like this:

throw 1;

Then the application, after processing this exception, will still crash no matter what. I haven yet to figure out a solution for this problem. If you have a solution, please send me a message!

No comments: