Use ShellExecute() or ShellExecuteEx() Winn32 API functions to run myapp.exe. These function don't wait for the "other" exe to finish.
Vlad
>I have a tiny server EXE that's run from the user desktop, that checks version and copies new app EXE to local hard drive if needed. Then it runs the hard drive app EXE, so I have in the small server EXE:
>
>DO c:\etc\myapp.exe
>
>as the last line of code.
>
>My question is: is there a way to close the small server EXE after it launches the app EXE? Or a slightly different strategy that would accomplish this?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only