Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Abnormal Program Termination

134 views
Skip to first unread message

Don Poulsen

unread,
Mar 2, 1999, 3:00:00 AM3/2/99
to
Platform: VB5 SP3, Crystal Reports 6

In our VB5 application, we occasionally receive the message:

Runtime Error!
Program: C:\...\Our App.exe
abnormal program termination

The heading on the message box is:

Microsoft Visual C++ Runtime Library

On clicking OK our app shuts down.

We seem to get this error after displaying or printing a number of
Crystal Reports from our app. We suspect that it is due to memory not
being freed.

Does anyone have any insight as to the cause, how we can prevent this
error or, if that isn't possible, trap for this error.

Don Poulsen
dpou...@realmed.com

Infrastructure Associates

unread,
Mar 2, 1999, 3:00:00 AM3/2/99
to
You should have an error handler in every procedure. The application should
not shut down as the result of an error. Check the versions of MFC DLLs on
the development machine and on the client machines. How are your Crystal
reports called?


Don Poulsen wrote in message <36DBE7...@real-med.com>...

Joe Dockrill

unread,
Mar 3, 1999, 3:00:00 AM3/3/99
to
In VC++ you get an abnormal program termination if an exception (run-time
error) does not get handled (the same way as in VB) The runtime library
steps on and kills you app (there aint much else it can do) and there is
nothing you can do to stop this.

Its not likely going to be caused by a memory leak although its
possible....there isn't much you can do except report this to CR tech
support or whatever with as much info as you can like, what its doing,
machine specs, dr watson log files if it ever dr watsons etc etc

The trouble is when a run-time error or exception falls out the top of your
call stack its a bit late to try and figure out where it got caused...

Joe

0 new messages