Write in a file then remove it.

BlitzMax Forums/BlitzMax Programming/Write in a file then remove it.

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Quite silly. If your trying to make the file unreadable/unusable by the people obtaining your program that is hardly a secure way to do it.
I would suggest encryption, there are plenty algorithms around.

EDIT:
Is it possible? and how?
Yes..

Seek to a positon in the file.
Write a bunch of nonsense and close the file.

When loading:
Simply way would be to seek over the data, as mentioned before, then save a temporary file and load it back in with your mesh loader, maintaining the buggered file format of the original.