In what circumstances will GetClipboardData(CF_TEXT) return NULL?
问题 I have this intermittent and incosistent problem which has been driving me crazy for a long time: In a program of mine, GetClipboardData(CF_TEXT) succeeds 90% (or so) of the time, but every once in a while it returns NULL. This is despite the fact that OpenClipboard() always succeeds (and return value checked) before calling GetClipboardData(CF_TEXT). Please note that the 90% success ratio is for the same exact page! (i.e. I know there is a CF_TEXT content there) Note: When it fails, I