|
-
Jan 2nd, 2007, 07:17 PM
#1
Thread Starter
New Member
run exe inside another exe
my problem:
I have 1 hard coded(compiled) c++ exe and I want to run it inside my vb6 exe. By word inside i mean no as new process, maybe as thread or something else. I think it can by done by some API but i can't find anything.
If someone find something i'll be thankfull..
-
Jan 2nd, 2007, 07:19 PM
#2
Re: run exe inside another exe
SetParent() API function.
Edit: Unless you mean execute the C++ exe, in which case you can use either the Shell "C:\Path\C++.exe" statement or the ShellExecute API function.
-
Jan 2nd, 2007, 07:56 PM
#3
Thread Starter
New Member
Re: run exe inside another exe
I think best is to execute c++ exe inside of my exe as new thread. If it's possible.
Maybe CreateThread API can be used for this. But in CreateThread API there isn't parameter to input clear path like "C:\c++app.exe"
-
Jan 3rd, 2007, 01:17 AM
#4
Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|