Solved

Access Violations when closing

Posted on 1997-06-04
7
180 Views
Last Modified: 2010-04-06
In two of my Applications (totally seperate apps, different data,
everything) when you hit the close button and application error occurs.

ie

Access violation at 0x4be41a49 read address 0x388b5708
83 3a 00 74 63 e8 39 10 00 00 64 88

This errors occurs in Delphi and at Runtime. The Delphi Find Error does not
find the code like that causes this problem (so possibly it is occuring in
the VCL).

Does anyone have any ideas?
0
Comment
Question by:gdj
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 1

Accepted Solution

by:
bcrotaz earned 100 total points
Comment Utility
Are you using your own components?
Do you create any objects?
If so you must free them before closing (in the OnDestroy handler)

Give me some more detail and I'll help more.

Bryan
0
 
LVL 4

Expert Comment

by:StevenB
Comment Utility
Oops...
of course.
Silly me.
0
 
LVL 1

Expert Comment

by:bcrotaz
Comment Utility
Everything I create I am Destroying (or Free ing, I've tried both).  

One strange thing I have noticed, on a 486 or a slow Pentium the problem does not occur!

0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:gdj
Comment Utility
 Does the error occur on the same line of code every time? If so why not paste it and the surrounding lines up and it may shed some more light.

  Steven.
0
 
LVL 4

Expert Comment

by:StevenB
Comment Utility
The error occurs after all of my code has all been processed.
0
 

Author Comment

by:gdj
Comment Utility
If you have written some thing like:
mainform.destroy or mainform.free than this might be the problem.
Generally, instead, you should call mainform.Release.
0
 
LVL 5

Expert Comment

by:ronit051397
Comment Utility
Thanks - but what did I say?
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now