| View previous topic :: View next topic |
| Author |
Message |
SF I'm a spammer
Reputation: 119
Joined: 19 Mar 2007 Posts: 6028
|
Posted: Tue Jul 03, 2007 6:48 pm Post subject: Encrypting files, and such. |
|
|
Not completely sure if this is the right place to post this, but it seems like the best. Anyway, on to my topic. I'm making a little program that will display pictures and such on the screen. (Sorta like a screensaver, I guess) Anyway, I'm making it limited so the people I send it to can only see them for 1 second each picture. Now, here's my problem. When I make the release version and send it out, the pictures still have to be in the folder, meaning they could just open them and all that. So, now, my question, anyone know how I could possibly encrypt the pictures so that they can't be opened directly from the folder?
_________________
|
|
| Back to top |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Tue Jul 03, 2007 6:54 pm Post subject: |
|
|
| If you don't want that happening you could just embed the pictures in your executable as resources.
|
|
| Back to top |
|
 |
SF I'm a spammer
Reputation: 119
Joined: 19 Mar 2007 Posts: 6028
|
Posted: Tue Jul 03, 2007 7:04 pm Post subject: |
|
|
| appalsap wrote: | | If you don't want that happening you could just embed the pictures in your executable as resources. |
Okay. *Googles*
Thanks.
If I still can't find out how...I might be back, still new to most programming.
_________________
|
|
| Back to top |
|
 |
Fromethius Expert Cheater
Reputation: 0
Joined: 19 Jun 2007 Posts: 114
|
Posted: Tue Jul 03, 2007 9:09 pm Post subject: |
|
|
Put them in a resource file.
_________________
Hi ^_^ |
|
| Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Thu Jul 05, 2007 9:44 pm Post subject: |
|
|
As in when you see (Visual C++ 2005)
Headers:
Resources:
something.ico
Sources:
whatever.cpp
(whatever u have)
in resources, add the pictures
|
|
| Back to top |
|
 |
|