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

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -