Search found 10688 matches

by madshi
Fri Sep 15, 2023 8:22 am
Forum: madExcept
Topic: Email sending method priority
Replies: 2
Views: 118

Re: Email sending method priority

My recommendation would be to switch to HTTP upload instead, which usually is the most reliable bug report sending method. It does require you to put a proper PHP script on your webserver, though.
by madshi
Wed Sep 06, 2023 8:45 am
Forum: madExcept
Topic: Exceptions not caught
Replies: 13
Views: 3077

Re: Exceptions not caught

In BCB, the PE segments are much more complicated than in Delphi. So that's why I'm assuming this is probably specific to BCB. Maybe can you create a very simple test project which demonstrates the problem? The simpler, the better.
by madshi
Wed Aug 30, 2023 12:43 pm
Forum: madExcept
Topic: Access Violation in MadExcept32.dll
Replies: 3
Views: 17562

Re: Access Violation in MadExcept32.dll

If I understand your code correctly, you're basically allocating a 1GB memory block via SetLength? That's very non-recommended to do. To be honest, I'm not fully sure why madExcept32.dll crashes, but generally, doing leak checking in 32bit adds a lot of RAM consumption on top of everything else, so ...
by madshi
Wed Aug 30, 2023 8:33 am
Forum: madExcept
Topic: Exceptions not caught
Replies: 13
Views: 3077

Re: Exceptions not caught

Sorry for the late reply.

I assume this problem is specific to C++?

Maybe can you suggest a change to madExceptPatcher to fix the issue?
by madshi
Thu Aug 24, 2023 9:30 pm
Forum: madExcept
Topic: Hiding a leak
Replies: 3
Views: 520

Re: Hiding a leak

No, that's not a feature that is supported. Of course you can always post-process the leak report yourself.
by madshi
Thu Aug 24, 2023 3:49 pm
Forum: madExcept
Topic: Leak not being detected.
Replies: 2
Views: 472

Re: Leak not being detected.

Strange indeed!
by madshi
Thu Aug 24, 2023 11:32 am
Forum: madExcept
Topic: Leak detection from command line compiler
Replies: 2
Views: 465

Re: Leak detection from command line compiler

The madExcept settings need to have the leak checking activated, as well.
by madshi
Fri Aug 18, 2023 7:47 am
Forum: madCodeHook
Topic: code not interceptable
Replies: 4
Views: 17942

Re: code not interceptable

FWIW, error code 0x770002 means that the madCodeHook disassembler has analyzed the code you wanted to hook, and found that it would be dangerous to hook that code. Meaning, hooking it would likely result in instability/crashes. The disassembler looks for things Iconic already mentioned, e.g. the cod...
by madshi
Tue Jul 25, 2023 1:30 pm
Forum: madExcept
Topic: Identify socket error in report
Replies: 2
Views: 845

Re: Identify socket error in report

It seems that while handling messages, the main thread jumps to address $0 and tries to execute code at that address. The address $0 is protected and cannot be executed, that's why the access violation occurs. So the big question is: Why does the main thread jump to address $0 while handling message...
by madshi
Mon Jul 17, 2023 8:58 am
Forum: madCollection
Topic: Delphi 11.3 RegisterExceptionHandler query.
Replies: 2
Views: 17929

Re: Delphi 11.3 RegisterExceptionHandler query.

This was renamed to "UploadToCustomScript" because madExcept can now also upload to Mantis, BugZilla and FogBugz, which are all also sort of "Http".
by madshi
Mon Jul 10, 2023 12:07 pm
Forum: madExcept
Topic: IDE exception catching & Delphi 11.3 patch 3
Replies: 1
Views: 832

Re: IDE exception catching & Delphi 11.3 patch 3

Some users had stability issues when the feature to catch crashes within the Delphi IDE was active, so I've disabled the feature completely by default. You can bring it back by manually adding the "madExceptIde_.bpl" to the list of loaded design time packages in your IDE. Please note that ...
by madshi
Sun Jul 09, 2023 5:26 pm
Forum: madCollection
Topic: Change icon of my app in runtime
Replies: 7
Views: 888

Re: Change icon of my app in runtime

I don't know, probably ChatGPT lied, as usual... :(
by madshi
Sat Jul 08, 2023 9:18 pm
Forum: madCollection
Topic: Change icon of my app in runtime
Replies: 7
Views: 888

Re: Change icon of my app in runtime

No, sorry. But ChatGPT is your friend. Maybe it will even write the code for you.
by madshi
Sat Jul 08, 2023 7:48 pm
Forum: madCollection
Topic: Change icon of my app in runtime
Replies: 7
Views: 888

Re: Change icon of my app in runtime

You can't do that while your EXE is running. It's locked for write-access in that moment. What you probably could do is rename your running EXE file (Project1.exe -> Project1old.exe), then copy it to the old name (Project1old.exe -> Project1.exe). Windows usually allows that, and the running EXE is ...
by madshi
Sat Jul 08, 2023 6:47 pm
Forum: madCollection
Topic: Change icon of my app in runtime
Replies: 7
Views: 888

Re: Change icon of my app in runtime

Do you mean you want Windows to change the icon that is shown in the top left corner of your main form, without changing anything on harddisk?

Or do you mean you want to modify your own EXE file on harddisk to replace the icon?