C++ Tapper

Posts 1–4 of 4 · Page 1 of 1
C++ Tapper
OK so i was just wondering why this code isnt d/cing my internet
Code:
 
System("ipconfig /release");
Im using it to make a tapper, idk if shelling stuff is different in C++ then VB
thanks in advance
Use the alternative, this worked fine for me.

[php]
ShellExecute( NULL, "open", "C:\\WINDOWS\\system32\\cmd.exe","/C ipconfig/release",NULL, SW_SHOWNORMAL);
[/php]

That's the same as typing
[php]cmd /c ipconfig/release[/php]
in that little 'run' program.

Good luck with your tapper.
yeh.... ummm r u getting any errors compiling?

cuz it might be system() and not System() >_> or whatever...
U need to press the enter key.


system ("ipconfig /release");
CSendKeys sk;
sk.SendKeys("{ENTER}");

or this:

system ("ipconfig /release");
keybd_event(VK_ENTER, 0, 0, 0);
keybd_event(VK_ENTER, 0, KEYEVENTF_KEYUP, 0);
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?