madexceptpatch delphi xe2

delphi package - automated exception handling
Post Reply
ccr
Posts: 14
Joined: Tue Jun 28, 2011 7:34 am

madexceptpatch delphi xe2

Post by ccr »

hello,
i upgraded from delphi 2010 to delphi xe2 (update 2).
i patch my executable (generated by commandline with dcc32) with madexceptpatch.
the file is successfully patched but the exe does not start anymore ...
when i switch back to delphi 2010 commandline compiler everything works fine ...

i use the latest version of madCollection

is there something i have to consider?

thank you
madshi
Site Admin
Posts: 10764
Joined: Sun Mar 21, 2004 5:25 pm

Re: madexceptpatch delphi xe2

Post by madshi »

What happens if you compile inside the IDE? Does it work then?

Can you reproduce the problem with a small sample project?
ccr
Posts: 14
Joined: Tue Jun 28, 2011 7:34 am

Re: madexceptpatch delphi xe2

Post by ccr »

hello,
it works fine from the ide.
i try to build a sample project ...
madshi
Site Admin
Posts: 10764
Joined: Sun Mar 21, 2004 5:25 pm

Re: madexceptpatch delphi xe2

Post by madshi »

If it works fine from the IDE then the likely cause is different project options somehow when compiling with dcc32.
ccr
Posts: 14
Joined: Tue Jun 28, 2011 7:34 am

Re: madexceptpatch delphi xe2

Post by ccr »

hello,
which project options are concerned?
with delphi 2010 commandline compiler everything works. i even enforced a new mes-file. the exe also is generated but just does not start ...

thank you
madshi
Site Admin
Posts: 10764
Joined: Sun Mar 21, 2004 5:25 pm

Re: madexceptpatch delphi xe2

Post by madshi »

The compiler debug options need to be turned on, and the detailed map file. The linker debug options can be turned off.

If you can't get it to work, please try to create a sample project. Thx.
ccr
Posts: 14
Joined: Tue Jun 28, 2011 7:34 am

Re: madexceptpatch delphi xe2

Post by ccr »

hello,
i did not provide the -GD switch. everything is fine now!
thank you very much
madshi
Site Admin
Posts: 10764
Joined: Sun Mar 21, 2004 5:25 pm

Re: madexceptpatch delphi xe2

Post by madshi »

Glad to hear that.
Post Reply