for example, i have
i want it to launch in the same window, i think i'd do that by instead of putting "NULL" for the handle, i put the handle for my app...but how do i get that? does c++ have an app.<x> for the console?Code:#include<stdio.h> #include<windows.h> void main(int argc, char *argv[]){ ShellExecute(NULL,"open","ping.exe","10.0.0.2","",4); }
thanks




Reply With Quote