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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Alexander Gottwald
Sent: 15 March 2004 15:50
To: [EMAIL PROTECTED]
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
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org           ICQ: 126018723

Reply via email to