This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: -clipboard not working?


I presume there are no system calls between OpenClipboard and GetLastError?
It's a weird one certainly, if that's the case.

-----Original Message-----
From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]
On Behalf Of Alexander Gottwald
Sent: 15 March 2004 15:50
To: cygwin-xfree@cygwin.com
Subject: RE: -clipboard not working?

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]