Einzelnen Beitrag anzeigen

cdkiller

Registriert seit: 23. Jul 2004
23 Beiträge
 
#7

Re: find hex codes in files

  Alt 24. Jul 2004, 13:58
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:

AddD---4.83.52-0070

and in an other file i have:

AddD---4.83.60-0068

the - are be spaces in the file.

and i want that my program search after this string and show a message with the version number (4.83xxx)
this version number is not always the same which you can see.

only th start (4.83) is the same.

can someone help me how i can read the version number out of the file ?

my search function returns the the position of the string in the file.
then the cursor must be before the A of the AddD string.

what i search is how can i read after the add the version number ? i am not sure but the spaces after the addD string can also be more as 3.

i hope you know what i mean.
thanks
  Mit Zitat antworten Zitat