473,385 Members | 1,813 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Writing own WinExec

Luc
Hello,

I've got following problem: I have two applications, the first one is
running and reads the second one into memory. And I need to run the
second application directly from the memory (without writing it to the
hard drive and running it using standard WinExec or CreateProcess).
I guess i need to write my own WinExec or CreateProcess.
Do you have any ideas how to do this?

Thank you in advance.

Aug 31 '06 #1
2 2350
Luc wrote:
I've got following problem: I have two applications, the first one is
running and reads the second one into memory. And I need to run the
second application directly from the memory (without writing it to the
hard drive and running it using standard WinExec or CreateProcess).
I guess i need to write my own WinExec or CreateProcess.
Do you have any ideas how to do this?
Maybe, but you're asking in the wrong place (see
http://parashift.com/c++-faq-lite/ho....html#faq-5.9).
OS-specific questions should go to a group dedicated to your OS or,
failing that, your development platform.

Cheers! --M

Aug 31 '06 #2
Spawn a thread.

--
---------------------------------------------------------------------
DataGet® & PocketLog® www.dataget.com
Data Collectors www.baxcode.com
--------------------------------------------------------------------

"Luc" <nu********@seznam.czwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...
Hello,

I've got following problem: I have two applications, the first one is
running and reads the second one into memory. And I need to run the
second application directly from the memory (without writing it to the
hard drive and running it using standard WinExec or CreateProcess).
I guess i need to write my own WinExec or CreateProcess.
Do you have any ideas how to do this?

Thank you in advance.

Sep 1 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

48
by: Joseph | last post by:
Hi I'm writing a commercial program which must be reliable. It has to do some basic reading and writing to and from files on the hard disk, and also to a floppy. I have foreseen a potential...
3
by: Camel | last post by:
Hi All, I am doing my Visual C++ homework. My program requires to build a GUI and ping a host, then display the result. I called winexec("ping 192.168.0.1"), however it executed in DOS window....
5
by: Jeong-Gun Lee | last post by:
I'm writing a code of writing a value to a specific memory address. ================================================================= #include <stdio.h> int main() { long air; long...
3
by: Chris LaJoie | last post by:
I'm looking for the framework equivilent of either the ShellExec or WinExec API. Preferably ShellExec because I can use it to launch the default browser as well as launch executables. thanks.
1
by: Daniel Bass | last post by:
in VC++ you could go WinExec("C:\\myExe.exe", "open"); how do i do this in C#? can't find anything in MSDN... Thanks. =o) Dan.
2
by: CSharpX | last post by:
Hi can anyone tell me how to call an external application from withing C# code? I can't find WinExec anywhere? Do i have to go and look for the shell functionality for launching applicatoins from...
102
by: Xah Lee | last post by:
i had the pleasure to read the PHP's manual today. http://www.php.net/manual/en/ although Pretty Home Page is another criminal hack of the unix lineage, but if we are here to judge the quality...
16
by: Claudio Grondi | last post by:
I have a 250 Gbyte file (occupies the whole hard drive space) and want to change only eight bytes in this file at a given offset of appr. 200 Gbyte (all other data in that file should remain...
89
by: Skybuck Flying | last post by:
Hello, This morning I had an idea how to write Scalable Software in general. Unfortunately with Delphi 2007 it can't be done because it does not support operating overloading for classes, or...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.