The clipboard doesn't seem to work and is not accessible from code or windows
My clipboard seems to be "stuck" - after using my machine for a while it just stops working - any software trying to access it pastes or throws an exception in Ctrl + C or Ctrl + V. The problem persists when I try access it via .NET framework or Win32API (exception thrown - something like "Clipboard unavailable" [sorry, I couldn't copy it here - my buffer doesn't work! :)])
I keep restarting all the time!
I will be grateful for any help or leaders, thanks :)
I saw a similar issue caused by an app that had a clipboard with a modified hook ( SetClipboardViewer ) installed but hung later. Since it was not passing WM_DRAWCLIPBOARD messages, eventually the clipboard just stopped working. Even dragging and dropping Windows Explorer stopped working.
I suggest that the next time this happens to you, you go through all non-base Windows applications and kill them one by one until the clipboard starts working again. Perhaps use Process Explorer to make sure you get them all.
source to share