Image formats

Hi,
I'm writing a program that displays several images during the course of it's run, I want to store every image as a separate file, but I don;t want other people to be able to open those files with any other program, like PaintBrush.  How would I go about doing that?
BegemotAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
md041797Connect With a Mentor Commented:
create a dll with nothing but a resource file in it.  put your bmp file in this then you can use LoadResource on the dll.
0
 
BegemotAuthor Commented:
Unfourtunately, the preogram is for DOS, so I cannot use a DLL file.
0
 
md041797Commented:
OK, then you could scramble the file by XORing the same bits for every byte in the file and doing it again to unscramble.

Simple, but it keeps other programs from reading it.
0
All Courses

From novice to tech pro — start learning today.