-clipboard not working?
Alexander Gottwald
alexander.gottwald@s1999.tu-chemnitz.de
Mon Mar 15 15:50:00 GMT 2004
On Mon, 15 Mar 2004, Ben Jackson wrote:
> Ok, just upgraded to the latest packages, and this is still problematic. I
> can copy from (say nedit) to the same window, but when I paste in a windows
> app, the app hangs. I just checked my XWin.log and I get:
>
> winClipboardWindowProc - WM_DRAWCLIPBOARD - Initializing - Returning.
> winProcSetSelectionOwner - OpenClipboard () failed: 00000000
> winProcSetSelectionOwner - OpenClipboard () failed: 00000000
> winProcSetSelectionOwner - OpenClipboard () failed: 00000000
> winProcSetSelectionOwner - OpenClipboard () failed: 00000000
> winProcSetSelectionOwner - OpenClipboard () failed: 00000000
> winProcSetSelectionOwner - OpenClipboard () failed: 00000000
>
> The same occurs with, say, xterm.
>
> My knowledge of the windows clipboard is somewhat limited, though I think
> OpenClipboard returns a BOOL, so maybe printing the result of FormatMessage
> with FORMAT_MESSAGE_FROM_SYSTEM and GetLastError() might be of more use than
> the 0!
This is not the return value of OpenCliboard but the value of GetLastError
and it says "No error". This is sure an error in the api.
bye
ago
--
Alexander.Gottwald@s1999.tu-chemnitz.de
http://www.gotti.org ICQ: 126018723
More information about the Cygwin-xfree
mailing list