Search found 10751 matches

by madshi
Mon Mar 04, 2024 5:48 pm
Forum: madExcept
Topic: How to integrate madExcept with FastMM4
Replies: 1
Views: 126

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: 89

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: 23946

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: 23946

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: 105

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: 166

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: 166

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: 23946

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: 166

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: 23946

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.
by madshi
Wed Feb 21, 2024 10:20 pm
Forum: madExcept
Topic: Application crashes when generating leak reports
Replies: 20
Views: 23946

Re: Application crashes when generating leak reports

1) It seems to be 2 things at once: The madExcept DCUs are linked into your EXE (otherwise there would be no way for madExcept to be active), plus madExcept seems to be active. Which should both not be the case. I think this is both unlikely to be madExcept's fault, but it's hard to be 100% sure. On...
by madshi
Wed Feb 21, 2024 5:05 pm
Forum: madExcept
Topic: Application crashes when generating leak reports
Replies: 20
Views: 23946

Re: Application crashes when generating leak reports

1) Maybe you still have madExcept in your uses clause in some unit(s)? Removing the BPLs from the IDE doesn't stop the compiler from linking the madExcept DCU into your EXE file if your uses clause still references it. You can put your madExcept "uses" and custom code into "{$ifdef ma...
by madshi
Wed Feb 14, 2024 11:06 pm
Forum: madCollection
Topic: Delphi/BCB 12 ?
Replies: 3
Views: 508

Re: Delphi/BCB 12 ?

BCB 64bit support is not working, and also not planned atm, I'm sorry to say.
by madshi
Wed Feb 14, 2024 9:52 pm
Forum: madCollection
Topic: Delphi/BCB 12 ?
Replies: 3
Views: 508

Re: Delphi/BCB 12 ?

BCB12 is (sort of) supported, but only in 32bit, and I've not fully tested it. I assume it will probably work, but you may need to do some things manually, which may happen automatically for Delphi. Which is basically the same how it was for BCB11 and older builds.
by madshi
Sat Feb 10, 2024 4:01 pm
Forum: madExcept
Topic: Stack trace in D12 + DPI scaling
Replies: 2
Views: 266

Re: Stack trace in D12

Have you activated madExcept for your project? You need to do that in the Delphi project -> madExcept Settings dialog.