How do you kill and task in C++. Im using windows xp.
And not using

system("taskkill [task.exe]");

thanks!

TerminateProcess, but it might leave the computer in an unstable situation.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.