AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Untyped Binary Files

Ein Thema von sk.Silvia · begonnen am 19. Feb 2006 · letzter Beitrag vom 21. Feb 2006
Antwort Antwort
Benutzerbild von sk.Silvia
sk.Silvia

Registriert seit: 8. Feb 2006
Ort: Slovenia
90 Beiträge
 
Delphi 7 Personal
 
#1

Re: Untyped Binary Files

  Alt 19. Feb 2006, 19:29
thanks

i made a bit investigation using ShowMessage steping

1) with pointer : when i add @ it writes me an error : variable required - but thats not the problem tmp without @ seems to be right

2) as i was tracking it, it looks like it dont handle eof(MFile) and make one more cycle which is fatal! - i have no clue why eof dont works (althrought it works right by button1 procedure)

Delphi-Quellcode:
showmessage('1');
  while not eof(MFile) do
    begin
    showmessage('2');
    BlockRead(MFile,tmp,SizeOf(integer));
    showmessage('3');
    Memo3.Lines.Append(IntToStr(tmp));
    showmessage('4');
    end;

  closefile(MFile);
  end;
i rewrited it to an until cycle, with no success i need to solve a bigger problem, but cant move when this dont works...
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 08:47 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz