Thread: \\.\pipe\WinUAE
View Single Post
Old 21 October 2015, 22:15   #9
Registered User

chaos's Avatar
Join Date: Mar 2013
Location: Slovenia
Posts: 133
Originally Posted by boir View Post
The initial "ipc_event" appears to be necessary. If I do "evt_SPC_PAUSE 1" or "SPC_PAUSE 1" without it the return is "501" and the emulator doesn't pause.
You can also just use "EVT SPC_PAUSE 1".

Ipctester returned 404 even when the command worked so are you sure your commands didn't work?
Looks like I misinterpreted that. "SPC_PAUSE 1" works for me too, and I also get a 404 response.

With the blocking comment, I just wanted to warn you that if you read from the pipe when it's empty, the read call will block - that is, your program will freeze. There is probably a way to tell the read function to not block ...
chaos is offline  
Page generated in 0.03998 seconds with 10 queries