Solved

Access violation on my delphi 7 project

Posted on 2011-03-16
6
1,052 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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
SUM 2 INTEGER ARRAYS INTO 1 10 119
JAudiorecorder record freezing the app 29 93
Can Live bindings change TGrid Cell Colour ? 1 64
Remove all child-forms from a parent-panel 16 18
This article will show, step by step, how to integrate R code into a R Sweave document
When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

710 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