Error starting application

delphi package - automated exception handling

Error starting application

Postby Tomislav Ilic » Wed Feb 12, 2020 3:23 pm

Hello,
submit
When we patch our application with madexceptpatch and run outside of the IDE, we get the Error H7 .dll can not be found.

When we run inside the IDE, alle is working fine.

What can we do. We use the 5.0.0 version.

The application is using runtime packages, we have a small executable en load the Delphi bpls on runtime.
Tomislav Ilic
 
Posts: 3
Joined: Tue Feb 11, 2020 10:15 am

Re: Error starting application

Postby madshi » Wed Feb 12, 2020 3:26 pm

"H7.dll"? Is that one of your dlls? I've never heard of such a dll yet.

If you simply skip the madExceptPatch call, does it work then?
madshi
Site Admin
 
Posts: 10134
Joined: Sun Mar 21, 2004 5:25 pm

Re: Error starting application

Postby Tomislav Ilic » Fri Feb 14, 2020 8:42 am

No, “H7.dll” is not ours.
And yes, if i skip the madExceptPatch call, then it works.
Tomislav Ilic
 
Posts: 3
Joined: Tue Feb 11, 2020 10:15 am

Re: Error starting application

Postby madshi » Fri Feb 14, 2020 9:03 am

That seems quite strange. When you compile outside of the IDE, are you telling Delphi to produce a detailed map file (-gd switch)? Otherwise, madExcept might use an outdated map file and that could potentially screw things up. Also please make sure that there are no outdated *.tds files flying around which could result in madExcept becoming confused.

For your information: When you compile inside of the IDE, madExceptPatch.exe is also being called to perform the patching. So if it works when compiling inside of the IDE, it seems unlikely to be a bug in madExceptPatch.exe, but my best guess is that madExcept isn't using the right map or TD32 debug information to patch your EXE file.
madshi
Site Admin
 
Posts: 10134
Joined: Sun Mar 21, 2004 5:25 pm

Re: Error starting application

Postby Tomislav Ilic » Mon Feb 17, 2020 12:45 pm

Hello, my problem was in map file.
It works now.
Thank you.
Tomislav Ilic
 
Posts: 3
Joined: Tue Feb 11, 2020 10:15 am


Return to madExcept

Who is online

Users browsing this forum: No registered users and 9 guests

cron