Clipboard Problem
I am trying to write to the clipboard from a console application. I use the standard OpenClipboard(NULL) function which returns TRUE (1). The next line is a call to EmptyClipboard() which should clear and lock it but that fails with an error message saying that the thread doesn't have an open clipboard. I can't use MFC without re-writing the entire app at this point.
Any thoughts?
Mark Jackson
|