Newsgroups : Borland : borland.public.delphi.rtl.win32 : 2006 Mar : How to read Linker Map file
| Subject: | How to read Linker Map file |
| Posted by: | noma..@sorry |
| Date: | Tue, 14 Mar 2006 14:05:15 GMT |
Hi!
I don't know if this is the right news group but here it goes:
I have a huge aplication that is build from many .bpl-s and .dll-s.
When "Accesss violation..." exception is raised I would like to know
the procedure and line number where in the code this happend.
So, I got "Access violation at address 0035EECB in module
'Common.bpl'. Read of address...".
1. If I know the HInstance of Common.bpl in the runtime when the
exception happened, and if I have the detailed map file of Common.bpl
how am I to link information from map file example "0001:0007A140"
with HInstance and address given in the above exception? What is the
"0001:" prefix?
2. If a part from a run time .bpl package (say unit CashInst) is
included in other .dll that is build to use that run time package,
then in the map file for both .bpl and .dll this unit CashInst is
included, while I would expect that it would be included only in the
map file of .bpl where it should reside.
tomi.