How to execute an exe
-
:rose:Hi I want to know how i can extract an exe into memory and then execute it directly from memory. Any idea or ref:confused:. Pl. help me. thanks
-
:rose:Hi I want to know how i can extract an exe into memory and then execute it directly from memory. Any idea or ref:confused:. Pl. help me. thanks
-
He wrote:
into memory
he wants to do it "on the fly" not wanting to land on disk !!
"But your mind is very complex, very tricky. It makes simple things complicated. -- that's its work. And for centuries it has been trained for only one thing: to make things so complicated that your life becomes impossible."- Osho
--[V]--
-
He wrote:
into memory
he wants to do it "on the fly" not wanting to land on disk !!
"But your mind is very complex, very tricky. It makes simple things complicated. -- that's its work. And for centuries it has been trained for only one thing: to make things so complicated that your life becomes impossible."- Osho
--[V]--
VivekuniQ wrote:
he wants to do it "on the fly" not wanting to land on disk !!
there no way AFAIK... but maybe he can write a temporary exe on the disk, ShellExecute() it, and when it exits, delete the file...?!
TOXCCT >>> GEII power
[toxcct][VisualCalc 2.20][VisualCalc 3.0] -
VivekuniQ wrote:
he wants to do it "on the fly" not wanting to land on disk !!
there no way AFAIK... but maybe he can write a temporary exe on the disk, ShellExecute() it, and when it exits, delete the file...?!
TOXCCT >>> GEII power
[toxcct][VisualCalc 2.20][VisualCalc 3.0]I want to execute exe directly from memory. I am writing a binder that will bind my project files and execute them to the memoty.I am doing this to make single exe out of several. Any idea or ref.:confused:
-
I want to execute exe directly from memory. I am writing a binder that will bind my project files and execute them to the memoty.I am doing this to make single exe out of several. Any idea or ref.:confused:
is it ok for you, instead of creating an exe "in memory" an launch it as is, to create threads and processes instead ? as i am understanding your last comment, you're trying to make several independant units that are running separatedly (but maybe synchronized). this way, threads may be what you're looking for...
TOXCCT >>> GEII power
[toxcct][VisualCalc 2.20][VisualCalc 3.0] -
is it ok for you, instead of creating an exe "in memory" an launch it as is, to create threads and processes instead ? as i am understanding your last comment, you're trying to make several independant units that are running separatedly (but maybe synchronized). this way, threads may be what you're looking for...
TOXCCT >>> GEII power
[toxcct][VisualCalc 2.20][VisualCalc 3.0]Well that sounds great. should i load exe that is at the end of main exe file and create a process with the address of second exe. well i have joined (appended) 2 exe files. now i want to load 2nd exe (which is at end of 1st exe) to the memory.
-
Well that sounds great. should i load exe that is at the end of main exe file and create a process with the address of second exe. well i have joined (appended) 2 exe files. now i want to load 2nd exe (which is at end of 1st exe) to the memory.
You can embed binary files as "binary" resources inside your exe, easy as embeding an icon. Then you can save the binary contents as a "temporary" .exe, and execute it. I hope it helps :) Guimasun GuimaSun www.nexsun.com.br NEXSUN TechZone
-
You can embed binary files as "binary" resources inside your exe, easy as embeding an icon. Then you can save the binary contents as a "temporary" .exe, and execute it. I hope it helps :) Guimasun GuimaSun www.nexsun.com.br NEXSUN TechZone
Hi Thanks a lot for help. I think there is no way to execute exe file from memory. So i am going to use ShellExecute(). well if i find out any way i'll ley you know. thanks