Solved

Access violation on my delphi 7 project

Posted on 2011-03-16
6
1,033 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 37

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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
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 explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

912 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

22 Experts available now in Live!

Get 1:1 Help Now