Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[Delphi] Blockread Untyped File

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
~NJ
Grandmaster Cheater Supreme
Ban
Reputation: 0

Joined: 09 Mar 2007
Posts: 1417
Location: sitting outside of the forum

PostPosted: Sat Nov 15, 2008 4:46 am    Post subject: [Delphi] Blockread Untyped File Reply with quote

Hi everyone,

I've been trying to figure out a solution to my problem for hours now and I'm really quite annoyed at this.

The problem is that I have a file which has a few null characters in it. That is, when I open it in a text editor the file has a few null characters. I know this because my text editor displays null characters nicely for me as "NULL".

Anyway, in Delphi, I wish to open this file (as an untyped file) and BlockRead some stuff out of it. The data in the file is mixed in around the null characters. So for example, my file might look like:

Code:
This is NULL a NULL string. NULL


What I need to do is to somehow read the full content of this file without being terminated on the first NULL character or any other NULL characters that appear except for the last NULL character.

Any ideas?

_________________
I failed to properly read http://forum.cheatengine.org/viewtopic.php?t=247716 last time I updated my trainer
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites