Re: Execute Stream?
- From: "Bruce Roberts" <ber@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 20 Jul 2005 14:02:29 -0400
"didi" <didi@xxxxxxxxxxxxxxx> wrote in message
news:LU6De.444$cE1.95513@xxxxxxxxxxxxxxxx
> Hi, is possible to load exe File in TFileStream and execute it?
I sure hope not. The potential security concerns are significant.
> I need this for preview purpouses..
Preview of what?
> I have two file one is exe that rapresent the header
> the second file is a data file that is attached before header.
As others have suggested, save the stream to disk and then call ShellExecute
or CreateProcess. At least this way the workstation's virus checker has a
say in things.
Even if you have no malicious intent the possibility of your software
becoming a carrier is very high should you figure out how to do what you are
asking.
.
- References:
- Execute Stream?
- From: didi
- Execute Stream?
- Prev by Date: J-Integra for COM (Java COM interoperability)
- Next by Date: http authentication
- Previous by thread: Re: Execute Stream?
- Next by thread: converting to mp3 in Delphi
- Index(es):
Relevant Pages
|