Solved

Access violation on my delphi 7 project

Posted on 2011-03-16
6
1,023 Views
Last Modified: 2012-05-11
That happens when I try to open the project compiled executable. Surprisingly and in spite of the error, the project functions fine.

 lxx6l.png

Anybody have any idea? Thanks.
0
Comment
Question by:John86a
6 Comments
 
LVL 2

Assisted Solution

by:RezaSadigh
RezaSadigh earned 166 total points
ID: 35153708
Hi my friend,
Maybe something in Create part of your program raises this error.
Check the OnCreate event for aoutcreate forms (if any) and see if you use something before create it.
also you can tracee the program by F8 and find out the error point, then I can help you more.
Best regards
0
 
LVL 14

Expert Comment

by:systan
ID: 35153746
try to look for RF8.exe in task manager the end the task, compile again, then ran it outside delphi ide
0
 
LVL 36

Expert Comment

by:Geert Gruwez
ID: 35153816
delete the project.dsk file in your project folder
sometimes it has an error
delphi will recreate it
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 24

Accepted Solution

by:
jimyX earned 167 total points
ID: 35153837
Reasons are many actually.
Can you show some code FormOnCreate/OnShow/OnActivate...etc.
Also are you handling all your variables and declaration correctly?
If you are handling some pointers wrongly you get that error. Also some controls can have issues when assigned unsupported/unexpected values.
0
 
LVL 8

Assisted Solution

by:BdLm
BdLm earned 167 total points
ID: 35154765


the best idea I always follow in trhat case :


download MADSHI delphi debugging software (free for privat use) .   http://help.madshi.net/  

you will see the line of code failing in your code
0
 

Author Closing Comment

by:John86a
ID: 35157464
Thanks a bunch guys!
0

Featured Post

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.

Join & Write a Comment

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

707 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

16 Experts available now in Live!

Get 1:1 Help Now