Re: Execute Stream?



On Tue, 19 Jul 2005 15:12:34 +0200, "didi" <didi@xxxxxxxxxxxxxxx>
wrote:

>Hi, is possible to load exe File in TFileStream and execute it?
>
>I need this for preview purpouses..
>
>I have two file one is exe that rapresent the header
>the second file is a data file that is attached before header.
>
>I join the two files together with Stream and I want to execute
>the result in manner to get preview before saving it to disk..

If you put the data after the EXE then you can execute the EXE in the
normal way
- it does not care about the extra data as it knows its 'linernal'
size'

If you gave a few more hints about what you are /really/ trying to do,
then perhaps we could come up with some suggestions.

For example do you intend modifying the code or data in the EXE ?
Is this some sort of copy protection system ?


.



Relevant Pages

  • Re: OT: EXE files in HTML?
    ... >>> I would like to be able to put an EXE file at my Web ... > I would hope that it would download temporarily and execute ... some of the photos. ...
    (alt.usage.english)
  • Re: IIS 6.0 CGI
    ... EXE) from the /Scripts virtual directory. ... Configure /Scripts vdir pointing to C:\Scripts with Execute Permissions ... Enable the Web Service Extension ... IIS6 does not allow scripts to execute on the server ...
    (microsoft.public.inetserver.iis)
  • Re: So I click on this link...
    ... An .exe file is a Windows file. ... It won't run on the Mac OS. ... Giving it the suffix .exe will not prevent it running ... of .exe on the net is not put there to execute on a mac. ...
    (uk.comp.sys.mac)
  • Re: CGI cant spawn process under IIS6
    ... You do not need to change the ACL on CMD.EXE to spawn new processes -- ... and this will launch that EXE without using CMD.EXE to execute ... that I've got to change the permissions on ...
    (microsoft.public.inetserver.iis.security)
  • Re: Firewall
    ... Then you have missed the point, because it's not the exe that wants access ... of Trojans when I do the baseline and everything is fine at the point of the ... account for Duane.exe being on the machine trying to execute. ... Duane.exe doesn't even need IEexplorer.exe to make the phone home call. ...
    (comp.security.firewalls)