Click here to Skip to main content
15,916,293 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralVC++ gives Invalid function reference Pin
Aidman1-Aug-03 6:15
Aidman1-Aug-03 6:15 
GeneralRe: VC++ gives Invalid function reference Pin
John M. Drescher1-Aug-03 6:39
John M. Drescher1-Aug-03 6:39 
GeneralRe: VC++ gives Invalid function reference Pin
Aidman1-Aug-03 15:34
Aidman1-Aug-03 15:34 
GeneralRe: VC++ gives Invalid function reference Pin
John M. Drescher1-Aug-03 18:14
John M. Drescher1-Aug-03 18:14 
GeneralRe: VC++ gives Invalid function reference Pin
Chris Richardson1-Aug-03 15:45
Chris Richardson1-Aug-03 15:45 
GeneralRe: VC++ gives Invalid function reference Pin
Aidman2-Aug-03 17:50
Aidman2-Aug-03 17:50 
Generalvariant_t and warning C4238 Pin
R Pellegrini1-Aug-03 5:35
R Pellegrini1-Aug-03 5:35 
QuestionRun files from Zip without extracting first? Pin
Kayembi1-Aug-03 5:28
Kayembi1-Aug-03 5:28 
Hi,

I'm attempting to write an improved file packer for a game package. (The one I already created extracts the game files from an archive to the hard-drive before running the game, which is obviously very insecure.) Essentially, what I want to do is use a compressed .zip file as though it were a regular Windows directory - in other words, to run the game from inside the .zip file without unpacking it - is this possible?

Eg. I would compress all the game files into a zip file. Then I would like to write the code for an executable that could run the game from inside the zip file without needing to extract all of the files to a temporary directory on the hard-drive first. (By password-protecting the zip file it would have some very low-level protection, which is all I really need.)

I have seen something about "mounting" zip files, "virtual file systems" and transparently opening files elsewhere, but I'm not sure if this is what I need or where to start (obviously I don't want my users to be able to see the files inside the zip unless they open it with a zip program) - I am a novice when it comes to programming, and my only experience is with the WinAPI, which is what I would prefer to stick with.

If anyone can point me in the right direction - or even better, towards a library that will suit my needs - I would be eternally grateful.

Many thanks,
KB
AnswerRe: Run files from Zip without extracting first? Pin
John M. Drescher1-Aug-03 6:03
John M. Drescher1-Aug-03 6:03 
GeneralRe: Run files from Zip without extracting first? Pin
Kayembi1-Aug-03 7:15
Kayembi1-Aug-03 7:15 
AnswerRe: Run files from Zip without extracting first? Pin
Alexander M.,1-Aug-03 8:58
Alexander M.,1-Aug-03 8:58 
GeneralRe: Run files from Zip without extracting first? Pin
Kayembi1-Aug-03 15:10
Kayembi1-Aug-03 15:10 
GeneralCreating bitmaps Pin
Apollo10241-Aug-03 4:05
Apollo10241-Aug-03 4:05 
GeneralRe: Creating bitmaps Pin
Alexander M.,1-Aug-03 4:59
Alexander M.,1-Aug-03 4:59 
GeneralRe: Creating bitmaps Pin
Brian Shifrin1-Aug-03 9:17
Brian Shifrin1-Aug-03 9:17 
GeneralWin2K vs WinXP Scrollbars Pin
Kyudos1-Aug-03 3:31
Kyudos1-Aug-03 3:31 
GeneralRe: Win2K vs WinXP Scrollbars Pin
J. Dunlap1-Aug-03 9:07
J. Dunlap1-Aug-03 9:07 
QuestionCFileDialog, NT vs Win2k ?? Pin
Anoyomous1-Aug-03 2:42
sussAnoyomous1-Aug-03 2:42 
QuestionHow to get the information from CD Pin
Yu Zhiquan1-Aug-03 1:35
Yu Zhiquan1-Aug-03 1:35 
AnswerThere is no such information on the CD itself... Pin
Kochise1-Aug-03 2:03
Kochise1-Aug-03 2:03 
AnswerRe: How to get the information from CD Pin
Alexander M.,1-Aug-03 2:30
Alexander M.,1-Aug-03 2:30 
QuestionHow to view/ use these files (.HX?) ? Pin
pani681-Aug-03 1:34
pani681-Aug-03 1:34 
AnswerRe: How to view/ use these files (.HX?) ? Pin
Stephane Rodriguez.1-Aug-03 1:37
Stephane Rodriguez.1-Aug-03 1:37 
GeneralRe: How to view/ use these files (.HX?) ? Pin
pani681-Aug-03 2:36
pani681-Aug-03 2:36 
Generalsteps to begin a programming Pin
Pham Quang Hai1-Aug-03 1:10
Pham Quang Hai1-Aug-03 1:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.