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..
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.
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" :(
1 Attachment(s)
Re: run exe inside another exe
Hi! hope this one will help you... ;) ;) ;)