Re: Importing transparently another exe file



Accidently its an installation program so one may asume that the user has
administrator previlages. Is there any C/C++ example that doing something
similar.

Thanks

kalsih
"Joseph M. Newcomer" <newcomer@xxxxxxxxxxxx> wrote in message
news:0snau1hab8lajs3pb007klfu4bndp3rnur@xxxxxxxxxx
As Ajay points out, in order to execute the resource you need to store it
as a .exe file.
This may not be possible. In fact, many anti-virus programs are
configured to forbid the
writing of executable files on the disk, and cannot be overridden by
anyone other than an
administrator. So this seems like a bad idea. When you do an install,
the person logged
in doing the installation has rights to do an installation, which means
writing executable
files on the disk. After that, it is just pure hope.

All of this seems to go back to the "I don't want to have anything more
complex than a
single executable to deliver", which is a pretty lame excuse, since this
hasn't really
been a valid way of distributing software for over a decade.
joe

On Sat, 4 Feb 2006 08:11:20 -0800, "Kalish" <kalish@xxxxxxx> wrote:

I have an exe which I want to "include" inside my mfc application as a
resource or whatever other way transparently to the user. The most
important
thing is that the mfc application won't need in the run-time, to look for
the other exe. It will run this exe before it will do some other things
and
this will be transparent to the user(I hope I explained my need good
enough).

Is it possible and how?

Thanks in advance

Kalish

Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm


.



Relevant Pages

  • Re: Importing transparently another exe file
    ... They don't have working with files, but basics of reading/using resources ... administrator previlages. ... Is there any C/C++ example that doing something ... as a .exe file. ...
    (microsoft.public.vc.mfc)
  • self modifying exe
    ... can anyone help me writing self modifying exe??? ... i need to write one in C/C++ this has to be console based ...
    (microsoft.public.vc.language)
  • Re: How to Call a VB DLL from a Windows Service written in VB6 ?
    ... in C/C++). ... Its not an ActiveX exe. ... RunTime ERROR 48 "Error Loading DLL" ...
    (microsoft.public.dotnet.languages.vb)
  • Re: loop test
    ... Obviously, it took "programming" to create that test, so it does ... qualify to be included in this ng. ... Had it been a downloadable .exe created in C/C++, ...
    (comp.programming)
  • Re: loop test
    ... Obviously, it took "programming" to create that test, so it does ... qualify to be included in this ng. ... Had it been a downloadable .exe created in C/C++, ...
    (comp.programming)