doberkofler
Programmer
hi to all!
i have some major problems when using the CreateProcess win32 api function in conjunction with the WaitForSingleObject wi32 api fuction waiting for the spwned process to terminate.
we are using the CreateProcess function to open a word document with the micrsoft WinWord aplication and everything runs fine as long as WinWord was not already running when calling CreateProcess. if WinWord was already running, the call to CreateProcess simply changes the currently visible document in the WiNWord application and WaitForSingleObject immediately returnd as if the application would have been terminated.
is there a way to force CreateProcess to create a "new" process or what lese might go wrong here.
thank you for your help
do
i have some major problems when using the CreateProcess win32 api function in conjunction with the WaitForSingleObject wi32 api fuction waiting for the spwned process to terminate.
we are using the CreateProcess function to open a word document with the micrsoft WinWord aplication and everything runs fine as long as WinWord was not already running when calling CreateProcess. if WinWord was already running, the call to CreateProcess simply changes the currently visible document in the WiNWord application and WaitForSingleObject immediately returnd as if the application would have been terminated.
is there a way to force CreateProcess to create a "new" process or what lese might go wrong here.
thank you for your help
do