Solved

Access violation on my delphi 7 project

Posted on 2011-03-16
6
1,039 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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Copy Files - Python 7 82
Multiple image collision 13 74
Advice in Xamarin 21 78
Slow Restore if incremental backups using RDiff.exe 4 18
There is an easy way, in .NET, to centralize the treatment of all unexpected errors. First of all, instead of launching the application directly in a Form, you need first to write a Sub called Main, in a module. Then, set the Startup Object to th…
Windows Script Host (WSH) has been part of Windows since Windows NT4. Windows Script Host provides architecture for building dynamic scripts that consist of a core object model, scripting hosts, and scripting engines. The key components of Window…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

776 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