LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

TerminateExecutable does not terminate Microsoft application.

I have a short program that is supposed to startup a powerpoint slideshow using

LaunchExecutableEx (fileName, LE_SHOWMAXIMIZED, &g_exeHandle)). That part works.

When i try to terminate it using TerminateExecutable (g_exeHandle);  Nothing Happens.

Afterwards i have:  status= ExecutableHasTerminated (g_exeHandle); It returns a "1" saying that it did terminate.

Note that I placed that same line of code after the LaunchExecutableEX and the status was "0"

How can I kill the application?

0 Kudos
Message 1 of 1
(2,360 Views)