Solved

Strange Error - What does it mean?

Posted on 2004-04-08
9
200 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
[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
  • 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
Industry Leaders: 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 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

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.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

705 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