Search found 10756 matches

by madshi
Thu Nov 02, 2023 7:59 am
Forum: madCodeHook
Topic: Hook Specific address
Replies: 7
Views: 12830

Re: Hook Specific address

That error code means "code not interceptable", which means that madCodeHook thinks that it's not safe to hook that code.

Can you do this:

Code: Select all

uses madDisAsm;

var as1 : AnsiString;
begin
  ParseFunction(Pointer($0042E843), as1);
Then please post the contents of "as1" here.
by madshi
Wed Nov 01, 2023 2:25 pm
Forum: madCodeHook
Topic: Hook Specific address
Replies: 7
Views: 12830

Re: Hook Specific address

You mean HookCode fails? If so, what does GetLastError say?
by madshi
Tue Oct 31, 2023 8:53 am
Forum: madCodeHook
Topic: Hook Specific address
Replies: 7
Views: 12830

Re: Hook Specific address

It works the same way as hooking APIs. Your hook callback function and "next hook" function variable need to have the same calling convention and parameters as the function you want to hook. Have you tried? Does it not work?
by madshi
Wed Oct 18, 2023 5:09 pm
Forum: madExcept
Topic: ME and smtp gmail
Replies: 3
Views: 6581

Re: ME and smtp gmail

Of course I could offer such a service. However, there are situations where an application might crash in an endless loop and might then flood those services. Also, I'm not sure if my webserver is suited to handle the traffic/workload to cover all madExcept applications world-wide. So it's not overl...
by madshi
Mon Oct 09, 2023 7:29 pm
Forum: madExcept
Topic: madExcept and 4K monitors
Replies: 6
Views: 10520

Re: madExcept and 4K monitors

True, I've changed this in madExcept now.
by madshi
Wed Oct 04, 2023 10:39 am
Forum: madExcept
Topic: Is it require to set Map File when you use MadExcept?
Replies: 1
Views: 4343

Re: Is it require to set Map File when you use MadExcept?

In theory, madExcept should automatically activate the map file, because it's needed for Delphi projects. That is, if you compile within the IDE. If you compile outside of the IDE, you need to manually make sure that a detailed map file is created.
by madshi
Mon Oct 02, 2023 9:12 am
Forum: madExcept
Topic: Empty Bug Report Afterwards does not (seem to) work
Replies: 2
Views: 4629

Re: Empty Bug Report Afterwards does not (seem to) work

Can you reproduce this problem on your development PC? The feature is supposed to work. It will be hard to fix if it's not reproducable.
by madshi
Mon Oct 02, 2023 9:11 am
Forum: madExcept
Topic: ME and smtp gmail
Replies: 3
Views: 6581

Re: ME and smtp gmail

There's a "madTestMailAPIs.dpr" project, but I haven't updated it for more than 10 years, so I'm not sure if it's still useful to use. Probably not. You could copy madExcept.pas and mad.inc into your project folder and then set breakpoints in madExcept.pas to figure out what's going on. Al...
by madshi
Mon Oct 02, 2023 9:08 am
Forum: madExcept
Topic: What Delphi versions are supported?
Replies: 3
Views: 8703

Re: What Delphi versions are supported?

madExcept actually still even supports Delphi 4. Personally, I'm still using Delphi 7 for 32bit only projects.
by madshi
Fri Sep 15, 2023 8:22 am
Forum: madExcept
Topic: Email sending method priority
Replies: 2
Views: 5294

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

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

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

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

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

Re: Leak not being detected.

Strange indeed!