![]() |
Re: find hex codes in files
My example was especially for the case you described: You said, yo don't know if there are more than 3 spaces.
To your question:
Delphi-Quellcode:
After writing to the buffer, you should use
Buffer: array[0..6] of char;
buffer2: array[0..3] of char;
Delphi-Quellcode:
because then you can use it as a nullterminated string
Buffer[6] := #0;
Buffer2[3] := #0;
Delphi-Quellcode:
A simple + doesn't work in most cases.
version := version + StrPas(Buffer);
//... version := version + StrPas(Buffer2); |
Alle Zeitangaben in WEZ +1. Es ist jetzt 14:15 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-2025 by Thomas Breitkreuz