Page 1 of 1

Posted: Fri Oct 11, 2002 10:58 pm
by BackupUser
Restored from previous forum. Originally posted by scurrier.

Is there a way to open a file in binary mode for write?
this way you can protect your data?

what i need to do is create a file with data in it and that no one can just load in any text editor and i can update through the web.

Thanks
Sean

P.S
The new version 3.40 is awsome Fred keep up the great work
any idea on when the 3D commands will be implamented? Being able to load a 3ds file would be great or a .X file.
Just an idea you might want to look into is setting up a section on the main web site to accept donation from credit cards or checks.
thanks again

Posted: Fri Oct 11, 2002 11:52 pm
by BackupUser
Restored from previous forum. Originally posted by Danilo.

CreateFile() + WriteLong(), WriteByte(), Writeword(), ...its plain binary

See Help for File Library.

cya,
...Danilo

(registered PureBasic user)

Posted: Sat Oct 12, 2002 2:53 am
by BackupUser
Restored from previous forum. Originally posted by PB.

> what i need to do is create a file with data in it and that no one
> can just load in any text editor

Anyone can load any file into a hex editor (http://www.kibria.de/frhed.html)
and modify your data that way, so don't get too concerned about trying
to stop them....


PB - Registered PureBasic Coder