Re: Application that makes EXE
- From: "Anonymous" <anonymous@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 7 Aug 2007 13:39:14 +0200
If I understand you correctly, you want to be able to create an EXE in run
time, which is basically always the same, but just different "meta"
information attached...
One way to do this, is to create a stand-alone EXE application (statically
link the MFC library if you are using MFC),
And then add it to the main application as a resource, and instead of
compiling a program every time, just save the resource to the hard drive,
and append the "meta information" to the end of the file, and then append
also the length of the meta information.
The "dynamically" created EXE, will read the meta information from the end
of its own file...
The "meta information" shoudl not corrupt the EXE file, because the
execution process will never reach the "meta information".
Hope I helped...
Daniel C. Gindi
danielgindi (at) gmail dot com
"dacky" <harvey.daclan@xxxxxxxxx> wrote in message
news:1186382868.838200.242740@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Is it possible in MFC to create an EXE file programmatically?
I hope you guys can help me on this. My application is gonna upload an
image to a device. When it is uploaded it also contains meta
information appended on the image data because my application has also
settings. I want a way that i can preserve the image data and all its
settings on the absence of the device. I want to generate an
executable file and when i execute the file it can automatically
upload the image and all the necessary information to the device.
With presence of the device:
image -----> application ------> image + meta information ----->
device
Absence of the device:
(generate an exe file if the device is unavailable)
image ------> application -------> image + meta information -----> exe
file
If exe file is executed:
(it will automatically do the same function as with the presence of
the device
exe file -------->device
.
- Follow-Ups:
- Re: Application that makes EXE
- From: dacky
- Re: Application that makes EXE
- References:
- Application that makes EXE
- From: dacky
- Application that makes EXE
- Prev by Date: Toolbar doesn't react on first click.
- Next by Date: Cotrols disappears
- Previous by thread: Re: Application that makes EXE
- Next by thread: Re: Application that makes EXE
- Index(es):
Relevant Pages
|