https://bugs.winehq.org/show_bug.cgi?id=46257 --- Comment #5 from Stuart Axon <stu.axon(a)gmail.com> --- Hi, Here is some CPP code that grabs a screenshot of a window. It's not the same as the python code, but grabbing screenshots does fail under Wine. Thought I had an MFC version (a port of the python code) working before, Xmas .. but definitely isn't working now, so I've commented that out (and probably broken more things). https://gist.github.com/stuaxo/cba5921832201c93a0de1da28aeffcff Code is a bit of a mishmash of C/C++ idioms as it's code-by-googling You can run notepad then capture it like capture-window -l Notepad -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.