Solved

Strange Error - What does it mean?

Posted on 2004-04-08
9
199 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
Independent Software Vendors: 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

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!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Convert a string into a TDateTime 5 73
CheckListBox usage 3 83
Dev express lookupcombo 3 47
Is there any way to treat Lock record in table with clientdataset? 3 32
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

730 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