Solved

Strange Error - What does it mean?

Posted on 2004-04-08
9
197 Views
Last Modified: 2010-04-05
Hello,

With the help of a forum member from EE whom I am extremely grateful to, my MP3 program within Delphi is complete except when a User enters new details for an ID3 Tag and then clicks Ok the program displays the following error message:

'Access Violation at address 00479BCA in module 'Project1.exe'.  Read of address 00000000'

What does this mean and how can it be resolved?.

Thanks awfully for looking and I wish you all the best and I apologise for the low point amount, I'm sorry.

Thank you.
0
Comment
Question by:ryujingt3
  • 3
  • 2
9 Comments
 
LVL 11

Expert Comment

by:shaneholmes
ID: 10787242
Hi  ryujingt3,

I've been waiting for you to surface again. I was cleaning up old test folders and deleted your code by mistake. Would you send me the latest code i sen tyou, and i will take a look right now.

SHane
0
 
LVL 11

Accepted Solution

by:
shaneholmes earned 55 total points
ID: 10787624
in the unit EditTagUnit;

in the method

 SaveTagToFile,

change all your

 for index := 0 to length(Tempstring) do

to

 for index := 0 to length(Tempstring) - 1 do



Shane

0
 
LVL 2

Expert Comment

by:Robn
ID: 10788529
if TempString is a string, you may want to do this

for index := 1 to length(Tempstring) do

just in case it was missed :)

Regards,
Rob
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 11

Expert Comment

by:shaneholmes
ID: 10788570
Hi robn, he then adds each char to a Array, i've seen the code,

OTTOMH
 
where he does


 for index := 0 to length(Tempstring)-1  do
 
 MyArray[Index]:= tmpString[Index + 1];


Shane
 

 
0
 

Author Comment

by:ryujingt3
ID: 10790503
Hi Shane,

Thanks very much for that, can you explain what I was doing wrong?.  Also, is it possible for the program to show the newly entered data instantly without requiring a restart as it currently does?.

Thanks.
0
 

Author Comment

by:ryujingt3
ID: 10801677
Right, a quick update, the error has disappeared thanks to the help given from Shane, strangely though my version still refuses to update the newly entered data instantly and I do not know why even though you have told me that your version does this.

I have emailed you about this and look forward to your response and thank you for all your invaluable help.

Thanks.
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

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

911 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

23 Experts available now in Live!

Get 1:1 Help Now