Link to home
Start Free TrialLog in
Avatar of ARW
ARW

asked on

Instruction @ hex address referenced hex address - application error

How do I take the hex address that pops up for an instruction in the application error and translate taht into a line number of the source code, so that I can see what line of code the program is choking on?

"The instruction at 0x5f1de69b referenced memory at 0x00000000.  The memory could not be read."

It looks like something was not initialized or instantiated correctly, but I am not sure what.  There are some COM objects involved that could be causing it also, I imagine
Avatar of Lukasz Zielinski
Lukasz Zielinski
Flag of Poland image

go to www.madshi.net and download madExcept, this might help You.
ziolko.
Avatar of ARW
ARW

ASKER

This is the answer:

Subtract offset from Linker tab on Project form
Recompile and generate a map file.

Use a hex editor to find the hex address in the program.

AW


I will delete this question later
Dear expert(s),

A request has been made to close this Q in CS:
https://www.experts-exchange.com/questions/20523128/please-delete.html

Without a response in 72 hrs, a moderator will finalize this question by:

 - Saving this Q as a PAQ and refunding the points to the questionner

When you agree or disagree, please add a comment here.

Thank you.

modulo

Community Support Moderator
Experts Exchange
ASKER CERTIFIED SOLUTION
Avatar of modulo
modulo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial