to use Kill();
ive tried #include <iostream, Windows.h> and thats all that comes to my mind.
signal.h
Last edited on
can somone tell me why
Process::Kill("IExplorer.exe");
does not work?
Last edited on
Isn't the Internet Explorer process called iexplore.exe?
Last edited on
Yes, im using it as an example.
it says Kill cannot take 1 arguements
If you told us what you're trying to do, we might be able to suggest a simpler method.
im just trying to close down a specific program using Process::Kill();
anything will work if it shuts down the program.
Last edited on
i also have now tried system("taskkill notepad.exe");
Last edited on
link ones code couldnt close out notepad
and i dont even understand #2s code at all
Last edited on
taskkill is used as follows:
taskkill /im "notepad.exe"
,
not
taskkill notepad.exe
Last edited on
thnx
system("taskkill /im notepad.exe");
worked.