Solved

Access violation on my delphi 7 project

Posted on 2011-03-16
6
1,044 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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
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 Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
split53 challenge 7 109
Firemonkey webbrowser scrollbars ? 1 50
How to build JSON File in Delphi 6 3 46
How to insert .png images to TClientDataSet .cds file? 2 33
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

828 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