If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Windows Media Player remnant
Windows media player apparently, having been used in a format emergency to play a DVD
instead of VLC player, apparently leaves something running that prevents my "turn monitor off" program from finishing. $ cat monitoroff.c #include windows.h main() { sleep(1); SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, (LPARAM) 2); exit(0); } It works but hangs instead of exiting. (Cygwin under XP) -- On the internet, nobody knows you're a jerk. |
Thread Tools | |
Display Modes | |
|
|