LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to kill/terminate other programm?

Hi,
I want to make program kill other program which is running. For example, if the notepad.exe program is running now and I want to destroy or kill this program using CVI. How do I do?
0 Kudos
Message 1 of 2
(3,083 Views)
Hello

You'll probably need to use the Windows SDK for this. It gets installed with CVI, just not by default. Check out this link on how to terminate an application cleanly. Also check out the TerminateProcess() function in the SDK

Hope this helps

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 2
(3,083 Views)