C++, Progam Detection -
i want detect if window/process running, , if does, make c++ program close.
something this:
if (findwindow(null, text("fiddler"))) { ; std::exit ; }
it doesn't works reason.
why have random semi-colons floating in space?
this code should like:
if (findwindow(null, text("fiddler")) != null) { std::exit(0); }
Comments
Post a Comment