Click here to Skip to main content
15,913,486 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: ActiveX control doesn't get instantiated Pin
dabs26-Oct-05 12:07
dabs26-Oct-05 12:07 
Questionhow to check if a PC is connecing to the internet? Pin
includeh1026-Oct-05 10:46
includeh1026-Oct-05 10:46 
QuestionRe: how to check if a PC is connecing to the internet? Pin
David Crow26-Oct-05 10:47
David Crow26-Oct-05 10:47 
AnswerRe: how to check if a PC is connecing to the internet? Pin
includeh1026-Oct-05 12:30
includeh1026-Oct-05 12:30 
GeneralRe: how to check if a PC is connecing to the internet? Pin
John M. Drescher26-Oct-05 18:14
John M. Drescher26-Oct-05 18:14 
QuestionMoving a component programatically. Pin
Keith Vitali26-Oct-05 9:17
Keith Vitali26-Oct-05 9:17 
AnswerRe: Moving a component programatically. Pin
David Crow26-Oct-05 9:27
David Crow26-Oct-05 9:27 
QuestionUnpack Files to memory and then run them (like thinstall) Pin
Nemok26-Oct-05 6:15
Nemok26-Oct-05 6:15 
Hi,

Is it possible in anyway to load a file into memory and then run it
from there? I am working on a file compressor
(www.nemokprod.go.ro/nb.htm) that can compress and encrypt and save
multiple files as an exe file that can then run the compressed files
after unpacking them to a temp folder. The problem is that I have to
unpack the files to the hard-disk and then run them from there, making
them vulnerable to user that may try to get the original (unprotected)
files.

So the user shouldn't have access to the file operations in the
background. So I need to keep the original unpacked files hidden from
the user, until after they are opened by the unpacker and then deleted.
So users should have no kind of access to the files (should not see
them, open them, should not be able to modify or copy them) but the
unpacker should be able to run them. (that is why I think that the
memory is the best solution)

So is there any way to protect them, like unpacking them directly to
memory and then run them from there? Something like a virtual disk in
memory?

Thanks.

Nemok
QuestionRe: Unpack Files to memory and then run them (like thinstall) Pin
David Crow26-Oct-05 7:17
David Crow26-Oct-05 7:17 
AnswerRe: Unpack Files to memory and then run them (like thinstall) Pin
Nemok26-Oct-05 7:23
Nemok26-Oct-05 7:23 
QuestionRe: Unpack Files to memory and then run them (like thinstall) Pin
David Crow26-Oct-05 8:20
David Crow26-Oct-05 8:20 
AnswerRe: Unpack Files to memory and then run them (like thinstall) Pin
Nemok27-Oct-05 9:38
Nemok27-Oct-05 9:38 
AnswerRe: Unpack Files to memory and then run them (like thinstall) Pin
Chris Losinger26-Oct-05 8:24
professionalChris Losinger26-Oct-05 8:24 
AnswerRe: Unpack Files to memory and then run them (like thinstall) Pin
BadKarma26-Oct-05 8:49
BadKarma26-Oct-05 8:49 
GeneralRe: Unpack Files to memory and then run them (like thinstall) Pin
Nemok27-Oct-05 9:34
Nemok27-Oct-05 9:34 
AnswerRe: Unpack Files to memory and then run them (like thinstall) Pin
Joel Lucsy27-Oct-05 14:54
Joel Lucsy27-Oct-05 14:54 
Questionconst_cast problem?? Pin
Bob Stanneveld26-Oct-05 6:04
Bob Stanneveld26-Oct-05 6:04 
AnswerRe: const_cast problem?? Pin
BadKarma26-Oct-05 8:16
BadKarma26-Oct-05 8:16 
GeneralRe: const_cast problem?? Pin
Bob Stanneveld28-Oct-05 7:01
Bob Stanneveld28-Oct-05 7:01 
AnswerRe: const_cast problem?? Pin
John R. Shaw26-Oct-05 14:59
John R. Shaw26-Oct-05 14:59 
GeneralRe: const_cast problem?? Pin
Bob Stanneveld28-Oct-05 6:56
Bob Stanneveld28-Oct-05 6:56 
GeneralRe: const_cast problem?? Pin
John R. Shaw30-Oct-05 16:28
John R. Shaw30-Oct-05 16:28 
GeneralRe: const_cast problem?? Pin
Bob Stanneveld30-Oct-05 18:51
Bob Stanneveld30-Oct-05 18:51 
QuestionLooking for GUI simple tutorial with VC++ .NET version 7.1 Pin
Loc Milkyway26-Oct-05 5:52
Loc Milkyway26-Oct-05 5:52 
AnswerRe: Looking for GUI simple tutorial with VC++ .NET version 7.1 Pin
Kevin McFarlane26-Oct-05 9:34
Kevin McFarlane26-Oct-05 9:34 

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.