This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: -clipboard not working?
- From: Alexander Gottwald <alexander dot gottwald at s1999 dot tu-chemnitz dot de>
- To: cygwin-xfree at cygwin dot com
- Date: Mon, 15 Mar 2004 16:50:13 +0100 (MET)
- Subject: RE: -clipboard not working?
- References: <000101c40a9d$5bb79e40$9bbb6151@BENJACKSON>
- Reply-to: cygwin-xfree at cygwin dot com
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