Click here to Skip to main content
15,895,794 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralBroken clipboard = nightmare Pin
dandy722-Nov-21 10:32
dandy722-Nov-21 10:32 
GeneralRe: Broken clipboard = nightmare Pin
raddevus2-Nov-21 10:48
mvaraddevus2-Nov-21 10:48 
GeneralRe: Broken clipboard = nightmare Pin
dandy723-Nov-21 3:23
dandy723-Nov-21 3:23 
GeneralRe: Broken clipboard = nightmare Pin
raddevus3-Nov-21 4:16
mvaraddevus3-Nov-21 4:16 
GeneralRe: Broken clipboard = nightmare Pin
dandy723-Nov-21 4:30
dandy723-Nov-21 4:30 
GeneralRe: Broken clipboard = nightmare Pin
raddevus3-Nov-21 4:38
mvaraddevus3-Nov-21 4:38 
GeneralRe: Broken clipboard = nightmare Pin
raddevus3-Nov-21 4:43
mvaraddevus3-Nov-21 4:43 
GeneralRe: Broken clipboard = nightmare Pin
dandy723-Nov-21 9:50
dandy723-Nov-21 9:50 
Actually after yet another reboot, the problem seems to have gone away and has not yet come back (for the first time in maybe 5 days and as many reboots)...I'm not gonna go out of my way to intentionally try to break it. Smile | :) But if it does come back, I will definitely look into it. I've used the clipboard API before, in the same way you do in your little 2-liner sample, and with the way it behaved (until now) throughout the entire OS, I wouldn't be surprised if nothing got copied after SetData().

Unfortunately according to the docs, the API doesn't return anything, but could throw exceptions. I suspect it's not, in my case. If it was, either every app is anticipating exceptions and remaining completely silent about them (unlikely), or if something's not anticipating them, then I'd expect them to end up in the Windows event log - and it's clean.
GeneralRe: Broken clipboard = nightmare Pin
raddevus2-Nov-21 11:09
mvaraddevus2-Nov-21 11:09 
AnswerRe: Broken clipboard = nightmare Pin
Ravi Bhavnani2-Nov-21 12:30
professionalRavi Bhavnani2-Nov-21 12:30 
GeneralRe: Broken clipboard = nightmare Pin
Greg Utas2-Nov-21 14:22
professionalGreg Utas2-Nov-21 14:22 
GeneralRe: Broken clipboard = nightmare Pin
dandy723-Nov-21 3:18
dandy723-Nov-21 3:18 
GeneralRe: Broken clipboard = nightmare Pin
englebart2-Nov-21 14:11
professionalenglebart2-Nov-21 14:11 
GeneralRe: Broken clipboard = nightmare Pin
Nelek3-Nov-21 0:30
protectorNelek3-Nov-21 0:30 
GeneralRe: Broken clipboard = nightmare Pin
dandy723-Nov-21 3:19
dandy723-Nov-21 3:19 
Generalyes, Jimmy, the robots are coming for us, and your nightmares are normal Pin
BillWoodruff2-Nov-21 10:24
professionalBillWoodruff2-Nov-21 10:24 
GeneralRe: yes, Jimmy, the robots are coming for us, and your nightmares are normal Pin
Mike Hankey2-Nov-21 12:38
mveMike Hankey2-Nov-21 12:38 
Generalwhat happens when the kids who grow up in the 'metaverse' grow up ? Pin
BillWoodruff2-Nov-21 9:45
professionalBillWoodruff2-Nov-21 9:45 
GeneralRe: what happens when the kids who grow up in the 'metaverse' grow up ? Pin
Marc Clifton2-Nov-21 11:04
mvaMarc Clifton2-Nov-21 11:04 
GeneralRe: what happens when the kids who grow up in the 'metaverse' grow up ? Pin
BillWoodruff2-Nov-21 12:09
professionalBillWoodruff2-Nov-21 12:09 
GeneralRe: what happens when the kids who grow up in the 'metaverse' grow up ? Pin
Mycroft Holmes2-Nov-21 12:08
professionalMycroft Holmes2-Nov-21 12:08 
GeneralRe: what happens when the kids who grow up in the 'metaverse' grow up ? Pin
CodeWraith2-Nov-21 14:26
CodeWraith2-Nov-21 14:26 
GeneralRe: what happens when the kids who grow up in the 'metaverse' grow up ? Pin
Mycroft Holmes2-Nov-21 15:09
professionalMycroft Holmes2-Nov-21 15:09 
JokeLooking for a joke about a chiropractor I posted some time ago... PinPopular
Sander Rossel2-Nov-21 0:20
professionalSander Rossel2-Nov-21 0:20 
GeneralRe: Looking for a joke about a chiropractor I posted some time ago... Pin
Rage2-Nov-21 1:02
professionalRage2-Nov-21 1:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.