Search found 10756 matches

by madshi
Thu Mar 28, 2024 5:40 pm
Forum: madExcept
Topic: Using madExcept in Web CGI stand-alone executable
Replies: 12
Views: 7310

Re: Using madExcept in Web CGI stand-alone executable

Originally you added code directly after "Application.Run". Why did you go away from that? It seemed to make sense for me. You could just check "fWait" there instead of "AmOnline".
by madshi
Fri Mar 22, 2024 10:08 pm
Forum: madExcept
Topic: Strange exception message
Replies: 3
Views: 76

Re: Strange exception message

Well, that's the reason why there are no line numbers, then. Though, "Unit1" sounds like your unit, so I would expect to see line numbers for those lines. Anyway, looking through the callstack, it seems that SIBEABase.pas in "TSIBEventThread.DoEvent" calls "TRexpressPrintSer...
by madshi
Fri Mar 22, 2024 9:31 pm
Forum: madExcept
Topic: Strange exception message
Replies: 3
Views: 76

Re: Strange exception message

Is "ppPrintr" your own unit? Or is it a 3rd party unit? Or a Delphi unit?
by madshi
Wed Mar 20, 2024 10:43 am
Forum: madExcept
Topic: madExcept Window to small on High-DPI
Replies: 7
Views: 246

Re: madExcept Window to small on High-DPI

Glad to hear that, will change it in the next build.
by madshi
Wed Mar 20, 2024 9:51 am
Forum: madExcept
Topic: madExcept Window to small on High-DPI
Replies: 7
Views: 246

Re: madExcept Window to small on High-DPI

Can you try this: 1) Copy madExcept.pas and mad.inc into your project folder. 2) In madExcept.pas search for "stdac(THandle(-4))" and comment that line out, while leaving the "stdac(THandle(-1))" line in place like this: if @stdac <> nil then begin stdac(THandle(-1)); //stdac(THa...
by madshi
Mon Mar 04, 2024 5:48 pm
Forum: madExcept
Topic: How to integrate madExcept with FastMM4
Replies: 1
Views: 172

Re: How to integrate madExcept with FastMM4

The memory manager should be the first unit in the project's uses clause. So yes, if you want to use FastMM4, you should put it first, in front of madExcept.
by madshi
Wed Feb 28, 2024 9:41 am
Forum: madExcept
Topic: Filter out specific AV
Replies: 1
Views: 134

Re: Filter out specific AV

Can you please post the full AV bug report here? You can (of course) edit out sensitive things.
by madshi
Sat Feb 24, 2024 8:47 am
Forum: madExcept
Topic: Application crashes when generating leak reports
Replies: 20
Views: 25222

Re: Application crashes when generating leak reports

Oh cool - thanks iconic! :D
by madshi
Fri Feb 23, 2024 12:07 pm
Forum: madExcept
Topic: Application crashes when generating leak reports
Replies: 20
Views: 25222

Re: Application crashes when generating leak reports

I've checked my leak reporting code and there's not a single call to PostMessage or SendMessage in it. I do call GetWindowText(), though, which apparently calls SendMessage somewhere in the depths of the OS. I've now commented that call to GetWindowText() out.
by madshi
Thu Feb 22, 2024 9:15 pm
Forum: madExcept
Topic: Feature request
Replies: 1
Views: 147

Re: Feature request

I have a policy of only accepting feature requests if it was requested by at least 3 different people at 3 different occasions. Otherwise, I'll never get out of adding new features and the madExcept settings dialog would have 200 pages of settings now... :confused: Also, I'm mostly in maintenance mo...
by madshi
Thu Feb 22, 2024 7:42 pm
Forum: madExcept
Topic: Custom file adding to attachments
Replies: 5
Views: 242

Re: Custom file adding to attachments

It's an exception handler specific to madExcept. The code should be pretty simple, something like this: uses madExcept; procedure YourExceptionHandler(const exceptIntf: IMEException; var handled: boolean) begin exceptIntf.AdditionalAttachments.Add(...); // see documentation end; initialization Regis...
by madshi
Thu Feb 22, 2024 4:58 pm
Forum: madExcept
Topic: Custom file adding to attachments
Replies: 5
Views: 242

Re: Custom file adding to attachments

Yes, but only with a fixed file path.
by madshi
Thu Feb 22, 2024 4:56 pm
Forum: madExcept
Topic: Application crashes when generating leak reports
Replies: 20
Views: 25222

Re: Application crashes when generating leak reports

Cool. I guess if it's just the one call that is problematic, I can remove it in the next build. But I suspect there will be many more, that may just not be active in your case due to your project not having leaks of that type.
by madshi
Thu Feb 22, 2024 1:53 pm
Forum: madExcept
Topic: Custom file adding to attachments
Replies: 5
Views: 242

Re: Custom file adding to attachments

Yes, you can. In your exception handler, you can use "exceptIntf.AdditionalAttachments.Add()". See here:

http://help.madshi.net/MESettings.htm#IMEAttachments
by madshi
Thu Feb 22, 2024 11:43 am
Forum: madExcept
Topic: Application crashes when generating leak reports
Replies: 20
Views: 25222

Re: Application crashes when generating leak reports

The 2 second delay is not a fixed delay, it already is a loop. So there's no delay unless it's needed.