----- Original Message -----
Sent: Friday, October 19, 2001 10:39
AM
Subject: [DUG]: Debugging
Troubles
I have an
application which is causing me trouble, but I am at a loss as to how to
debug it.
I need to
describe the application and how it works, so that you can understans my
problems so here goes:
Its a data
viewing/editing application for the roading industry.
There is a list
of roads from which the user can select 1 or many roads.
The user
can view any number of MDI forms which contain information on things
like Signs, Street Lights and Footpaths.
When a user
selects a new road we fire a windows message off which the data forms
recieve and update themselves.
We have other
messages flying about when different events happen, like one of the data
forms scrolls.
The problem is
arising when I close one of these data forms. I get an access violation
after the destructor has completed. The application is in the message loop
when the access violation occurs, so I don't get much from the call
stack.
I assume (but I
could be wrong) that the exception is occuring because there is still a
message in the queue which is destined for the form that has been
free'd.
How do I go
about debugging a problem like this?
Thanks
Stacey
Stacey
Verner
Ph: +64-9-4154790
Software
Developer Fax:
+64-9-4154791
DDI: +64-9-4154797
CJN Technologies Ltd.
Email: [EMAIL PROTECTED]
PO Box 302-278, North Harbour, Auckland 1330, New
Zealand
12 Piermark Drive, North Harbour, Auckland, New Zealand
Visit
our website at http://www.cjntech.co.nz/