Skip to main content
Filter by
Sorted by
Tagged with
3 votes
1 answer
97 views

I have a fairly typical pygame project with a game loop that processes events, updates game state and data, and then draws the next frame. That's all working. For various reasons, this is Windows only ...
HumanJHawkins's user avatar
0 votes
1 answer
65 views

I have a small console app that runs continuously on an Azure Windows 10 VM, doing some calculations. But I would like it if the job could detect when the VM is about to reboot, or when it itself is ...
Ann L.'s user avatar
  • 14k
0 votes
1 answer
3k views

I want to try and run the official SetWinEventHook() example given at https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwineventhook: // Global variable. HWINEVENTHOOK g_hook; ...
Alok's user avatar
  • 11k
0 votes
0 answers
54 views

I want to create the simplest service for monitoring which new application I am opening or which application I am switching to make it active window/application on Windows 10+ using the Win32 api. ...
Alok's user avatar
  • 11k