Results 1 to 4 of 4

Thread: run exe inside another exe

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2007
    Posts
    2

    Question 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..

  2. #2
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    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.

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2007
    Posts
    2

    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"

  4. #4
    Member
    Join Date
    Nov 2006
    Posts
    50

    Re: run exe inside another exe

    Hi! hope this one will help you...
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width