Link to home
Start Free TrialLog in
Avatar of atul_parmar
atul_parmarFlag for India

asked on

Debug : Access violation at address XXXXXXXXX

The application I am working on is built using all OCXs what contains UI and SOAP interface. The most issues I receive have no more information except Access violation at address XXXXXXXXX and sometimes it is really hard to find the code location what raises the exception.

What I want is the way to find out the exact code what raises the exception. Is it possible to find the source code using the above error message. I mean by using the address shown in the error. Is it is the how I can? I tried with looking at CPU window but could not get much.
Avatar of atul_parmar
atul_parmar
Flag of India image

ASKER

I gone through
http://delphi.about.com/od/objectpascalide/l/aa052201b.htm
but I it did not helped me much.
those addresses are memory addresses so they don't help much.

you could try madshi's components and adding debug info to everything and compile with that. I myself never did this, but some say this helps.
Yep, go with ciuly, MadExcept can be your very good friend.
Does this means that with Delphi (only) it is not possible. Coz' our company's policy a bit strong and requires lot of thigs to do and after all it is not guaranteed that it can be approved.

I understand that the address shown in the message is memory address and can vary each time. But I still hope that there must be some way to do it.
ASKER CERTIFIED SOLUTION
Avatar of 2266180
2266180
Flag of United States of America image

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
Thank you Ciuly.

I agree that to simplify my life I will have to go with MadExpert or do it with my way. :)