Click here to Skip to main content
15,922,894 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalideas and recomendation for distributed application Pin
tongc13-Aug-02 3:28
tongc13-Aug-02 3:28 
GeneralRe: ideas and recomendation for distributed application Pin
Brian Azzopardi13-Aug-02 3:54
Brian Azzopardi13-Aug-02 3:54 
GeneralRe: ideas and recomendation for distributed application Pin
Christopher Lord13-Aug-02 7:38
Christopher Lord13-Aug-02 7:38 
GeneralWM_RBUTTONDOWN & WM_RBUTTONUP question... Pin
Alek13-Aug-02 3:30
Alek13-Aug-02 3:30 
GeneralThe object invoked has disconnected from its client... AAAAAAHHHH ! Pin
Braulio Dez13-Aug-02 2:56
Braulio Dez13-Aug-02 2:56 
QuestionNetwork monitoring - an easy way? Pin
helsten213-Aug-02 2:50
helsten213-Aug-02 2:50 
GeneralRe: Window Size Gone!!!! Pin
Jon Hulatt13-Aug-02 2:31
Jon Hulatt13-Aug-02 2:31 
GeneralSpawning another application Pin
[CoY0te]13-Aug-02 1:55
[CoY0te]13-Aug-02 1:55 
Pretty simple - I use:
ShellExecute() to spawn another application. I use this function because it allows me to specify the directory for spawned application.
Now I need to wait for the application to terminate (In fact i would like to spawn it in synchronous mode because I just want to spawn it and wait for it's termination.

Is there any function that allows me to check if the application is still running using the HINSTANCE returned by ShellExecute?

Or perhaps there is another, easy way to spawn an application in synchronous mode, that does not need any loops checking application's state? (that will eliminate senseless processor usage).

Thanks in advance for any suggestions.

[ CoY0te ]
Railgun is like a Gilette Mach 3 - it does the job with one, easy stroke.
GeneralRe: Spawning another application Pin
Tomasz Sowinski13-Aug-02 2:01
Tomasz Sowinski13-Aug-02 2:01 
GeneralRe: Spawning another application Pin
[CoY0te]13-Aug-02 2:33
[CoY0te]13-Aug-02 2:33 
GeneralRe: Spawning another application Pin
Ranjan Banerji13-Aug-02 2:24
Ranjan Banerji13-Aug-02 2:24 
GeneralRe: Spawning another application Pin
Nick Parker13-Aug-02 2:59
protectorNick Parker13-Aug-02 2:59 
GeneralRe: Spawning another application Pin
Daniel Lohmann13-Aug-02 3:08
Daniel Lohmann13-Aug-02 3:08 
GeneralRe: Spawning another application Pin
Roman Fadeyev13-Aug-02 3:59
Roman Fadeyev13-Aug-02 3:59 
GeneralRe: Spawning another application Pin
Joshua Nussbaum13-Aug-02 2:25
Joshua Nussbaum13-Aug-02 2:25 
GeneralRe: Spawning another application Pin
[CoY0te]13-Aug-02 2:37
[CoY0te]13-Aug-02 2:37 
GeneralRe: Spawning another application Pin
Joshua Nussbaum13-Aug-02 2:41
Joshua Nussbaum13-Aug-02 2:41 
GeneralChanging ListCtrl Headers color Pin
RuiSantiago13-Aug-02 1:52
RuiSantiago13-Aug-02 1:52 
GeneralRe: Changing ListCtrl Headers color Pin
Tomasz Sowinski13-Aug-02 2:00
Tomasz Sowinski13-Aug-02 2:00 
GeneralRe: Changing ListCtrl Headers color Pin
RuiSantiago13-Aug-02 2:04
RuiSantiago13-Aug-02 2:04 
GeneralRe: Changing ListCtrl Headers color Pin
Tomasz Sowinski13-Aug-02 2:15
Tomasz Sowinski13-Aug-02 2:15 
GeneralRe: Changing ListCtrl Headers color Pin
Tomasz Sowinski13-Aug-02 2:22
Tomasz Sowinski13-Aug-02 2:22 
GeneralRe: Changing ListCtrl Headers color Pin
RuiSantiago13-Aug-02 3:45
RuiSantiago13-Aug-02 3:45 
GeneralOwner drawn Button Pin
dummyname13-Aug-02 1:43
dummyname13-Aug-02 1:43 
GeneralIM Server Pin
Shamoon13-Aug-02 1:29
Shamoon13-Aug-02 1:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.