Mapping binary file failed Delphi RIO10.3.3, Madexcept 5.0.0

delphi package - automated exception handling

Re: Mapping binary file failed Delphi RIO10.3.3, Madexcept 5

Postby jjnoui » Thu May 14, 2020 2:17 pm

Yes it was a space between the parameters, sorry again...
the result with space :

D:\>"C:\Program Files (x86)\madCollection\madExcept\Tools\madExceptPatch.exe" "D:\todel\todel.exe" /dontCheckRtl /RestoreFileTime
No map file found.
D:\>

d:\todel contains :

todel.dpr
todel.dproj
todel.dproj.local
todel.exe
todel.identcache
todel.res
utodel.dcu
utodel.dfm
utodel.pas
jjnoui
 
Posts: 13
Joined: Sun May 10, 2020 4:16 pm

Re: Mapping binary file failed Delphi RIO10.3.3, Madexcept 5

Postby jjnoui » Thu May 14, 2020 3:38 pm

IT WORKS!

drc and map files were not generated.

After doing :

project
- option
- compiler
- linker
- map file : passed from disabled to detailed

the drc and map files have been generated and everything works perfectly.

I guess in the message "[madExcept Avertissement] Mapping binary file failed (2)"

(2) represented the number of missing files?



Our exchange was very fruitful.
thank you so much
jjnoui
 
Posts: 13
Joined: Sun May 10, 2020 4:16 pm

Re: Mapping binary file failed Delphi RIO10.3.3, Madexcept 5

Postby jjnoui » Thu May 14, 2020 3:56 pm

IT WORKS!

drc and map files were not generated.

After doing :

project
- option
- compiler
- linker
- map file : passed from disabled to detailed

the drc and map files have been generated and everything works perfectly.

I guess in the message "[madExcept Avertissement] Mapping binary file failed (2)"

(2) represented the number of missing files?



Our exchange was very fruitful.
thank you so much
jjnoui
 
Posts: 13
Joined: Sun May 10, 2020 4:16 pm

Re: Mapping binary file failed Delphi RIO10.3.3, Madexcept 5

Postby madshi » Thu May 14, 2020 5:14 pm

The (2) is the error code. ERROR_FILE_NOT_FOUND = 2. So it seems it was the map file which was not found.

What I don't understand, though, is that the madExcept IDE wizard is supposed to automatically switch the map file option to "detailed" before you compile. I don't know why that didn't work! It should have...
madshi
Site Admin
 
Posts: 10200
Joined: Sun Mar 21, 2004 5:25 pm

Re: Mapping binary file failed Delphi RIO10.3.3, Madexcept 5

Postby jjnoui » Thu May 14, 2020 5:22 pm

As a crazy 'clicker', it is possible that I mistakenly disabled this option. :oops: :sorry:

One last question:
Does MadExcept also work with a program compiled in release version?
jjnoui
 
Posts: 13
Joined: Sun May 10, 2020 4:16 pm

Re: Mapping binary file failed Delphi RIO10.3.3, Madexcept 5

Postby madshi » Thu May 14, 2020 5:34 pm

It shouldn't matter if you disable it, madExcept should re-enable it again behind your back the next time you compile. At least in theory.

Yes, madExcept should also work for release builds.
madshi
Site Admin
 
Posts: 10200
Joined: Sun Mar 21, 2004 5:25 pm

Re: Mapping binary file failed Delphi RIO10.3.3, Madexcept 5

Postby madshi » Thu May 14, 2020 5:35 pm

P.S: You didn't uncheck "adjust compiler & linker options" here, did you?

http://help.madshi.net/madExceptConfiguration.htm
madshi
Site Admin
 
Posts: 10200
Joined: Sun Mar 21, 2004 5:25 pm

Re: Mapping binary file failed Delphi RIO10.3.3, Madexcept 5

Postby jjnoui » Thu May 14, 2020 5:42 pm

shame on me :(
only enable IDE exception catching is checked ....
but one thing : enable Unicode hack for setting dialog is in grey (disabled?)
jjnoui
 
Posts: 13
Joined: Sun May 10, 2020 4:16 pm

Re: Mapping binary file failed Delphi RIO10.3.3, Madexcept 5

Postby madshi » Thu May 14, 2020 5:49 pm

Haha! Now who pays me for my support hours? :wink: Just kidding, of course...

"Enable Unicode hack" is only for old Delphi versions which didn't native support Unicode.
madshi
Site Admin
 
Posts: 10200
Joined: Sun Mar 21, 2004 5:25 pm

Previous

Return to madExcept

Who is online

Users browsing this forum: No registered users and 14 guests