AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Suchfunktion Ergebnis der Suchanfrage

Ergebnis der Suchanfrage


Datum des Suchindex: Heute, 17:47

Parameter dieser Suchanfrage:

Suche in Thema: find hex codes in files
Suche alle Beiträge, die von "cdkiller" geschrieben wurden
• Suchmethode: "Suche nach allen Begriffen"
• Nach Datum (firstpost) sortiert
• Zeige Treffer als Beiträge
Zeige 6 von insges. 6 Treffern
Suche benötigte 0.005s

Es liegen Ergebnisse in folgenden Bereichen vor:

  • Forum: Programmieren allgemein

    Re: find hex codes in files

     
      by cdkiller, 24. Jul 2004
    ok i have found it.

    it this okay or have it errors btw can it reads other files not correct ?


    procedure TForm1.Button3Click(Sender: TObject);
    var
    thepos: integer;
    fs: TFileStream;
    Buffer: array of char;
  • Forum: Programmieren allgemein

    Re: find hex codes in files

     
      by cdkiller, 24. Jul 2004
    ? i can't understand your code ?

    it is not easier to load the file in a filestream. then seek to the postion of the AddD string + 8 chars forwad
    that the cursor is after "AddD ".

    than the version number is 14 chars long. from the position read the filestream in a buffer which is 14 chars long.

    but when i tried to prompt the buffer, it is empty. why ?
  • Forum: Programmieren allgemein

    Re: find hex codes in files

     
      by cdkiller, 24. Jul 2004
    ok i have found the error.

    now it is perfect.

    but here is also a problem because how can i get the bytes after the addD string ?

    example:

    in one file here are the string:
  • Forum: Programmieren allgemein

    Re: find hex codes in files

     
      by cdkiller, 24. Jul 2004
    ok thanks. :wall:

    but this is not all. i have more problems with the function which should find these strings.

    first i have convert the hex bytes into the char format whith the code at the top.

    now i have also strings to search like this:

    AddD 4.84
  • Forum: Programmieren allgemein

    Re: find hex codes in files

     
      by cdkiller, 24. Jul 2004
    in your code there is a error in the function which i cannot find.

    if i try to hextochar('41')(or other hex chars) the output in my variable is always 

    why ?

    cu
    cdkiller
  • Forum: Programmieren allgemein

    find hex codes in files

     
      by cdkiller, 23. Jul 2004
    hello,

    i try to search a hex string in a file and replace it, but it doesn't do it.

    Ok now here are the hex string i have read it from hex workschop:

    4164 6444 8B4D 088B 51

    this was the hex code and the ansi string for that in hex workshop is "AddD.M..Q"


URL zu dieser Suchanfrage:

https://www.delphipraxis.net/dp_search.php?do=usersearch&search_username=cdkiller&search_exact_username=1&search_sortby=dateline&search_resulttype=post&search_matchmode=0&searchthreadid=26436
Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 18:01 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz