I have registered a custom exception handler which work perfectly when an exception occurs. However, if I call CreateBugReport myself, the exception handler is not executed. Is this a bug or is it programmed as such on purpose?
That behaviour is intended. If you want to start the whole sequence of actions which are usually executed when an exception occurs (including the exception handlers) you need to call "HandleException" instead of "CreateBugReport".
I guess HandleException doesnt work in case I only want the report and no exception dialog? I'm using the report as a "Detailed Application Info" function for the endusers of my application, so I only need the string, no exception dialog.