Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
1
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #44.2K
~3K People Reached
Favorite Tags

4 Posted Topics

Member Avatar for freesoft_2000

the code goes like this: [code] try { Runtime rt = Rintime.getRuntime() ; Process p = rt.exec("Program.exe") ; InputStream in = p.getInputStream() ; OutputStream out = p.getOutputStream (); InputSream err = p,getErrorStram() ; //do whatever you want //some more code p.destroy() ; }catch(Exception exc){/*handle exception*/} [/code]

Member Avatar for JamesCherrill
0
2K
Member Avatar for jjohnson33
Member Avatar for 3maddy3

[QUOTE=Chainsaw]If you are using Windows, you want to check out: GetKeyState(); // checks state of a single key GetKeyboardState(); // checks state of all 256 keys GetAsynchKeyState(); // checks real-time CURRENT state of a single key. So, you'd call one of those to get the key state(s) you care about, …

Member Avatar for 3maddy3
1
304
Member Avatar for 3maddy3

hay if ur using the win32 API then use vertical keys like VK_UP so ur code will look like this: [code] LRESULT CALLBACK MessageHandler(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam) { switch(message) { .... case WM_KEYDOWN: if(wparam == VK_UP) keyUp = true ; if(wparam == VK_DOWN) keyDown = true …

Member Avatar for meabed
0
226

The End.