> I just checked in a patch which changes the UINTs to int's as that is
> what is actually returned by GetPriorityClipboardFormat.
> I assume that will fix this problem. cgf
Your patch fixes my problems. Thanks.
Pat
---
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem
On Fri, Mar 04, 2005 at 06:03:38PM -, Dave Korn wrote:
>Original Message
>>From: Corinna Vinschen
>>Sent: 04 March 2005 17:57
>
>> Dave,
>>
>> On Mar 4 17:35, Dave Korn wrote:
>>> Dunno why the compiler didn't warn. This seems to fix it ok.
>>> Attached as well, in case of line wr
Original Message
>From: Corinna Vinschen
>Sent: 04 March 2005 17:57
> Dave,
>
> On Mar 4 17:35, Dave Korn wrote:
>> Dunno why the compiler didn't warn. This seems to fix it ok.
>> Attached as well, in case of line wrap.
>
> any reason you're not following the usual patch guidelines
Dave,
On Mar 4 17:35, Dave Korn wrote:
> Dunno why the compiler didn't warn. This seems to fix it ok. Attached as
> well, in case of line wrap.
any reason you're not following the usual patch guidelines like, say,
sending the patch to cygwin-patches and, that's even more important,
adding a
Original Message
>From: Dave Korn
>Sent: 04 March 2005 17:27
> Original Message
>> From: Dave Korn
>> Sent: 04 March 2005 17:14
>
>> UINT format;
>
>> if ((format = GetPriorityClipboardFormat (formatlist, 2)) <= 0)
>
>
> LOL!
Dunno why the compiler didn't warn. T
Original Message
>From: Dave Korn
>Sent: 04 March 2005 17:14
> UINT format;
> if ((format = GetPriorityClipboardFormat (formatlist, 2)) <= 0)
LOL!
cheers,
DaveK
--
Can't think of a witty .sigline today
--
Unsubscribe info: http://cygwin.com/ml/#unsubsc
Original Message
>From: Dave Korn
>Sent: 04 March 2005 17:19
> Original Message
>> From: Dave Korn
>> Sent: 04 March 2005 17:14
>
>>hglb = GetClipboardData (format);
>
>>
>> So, GetClipboardData is failing and returning NULL.
>
>
> ... yet bizarrely, GetLastError ret
On Fri, 4 Mar 2005, Igor Pechtchanski wrote:
> [Switching to thread 1 (thread 9564.0x24fc)]#0 0x610b3df1 in strlen ()
> at /usr/src/cygwin-cvs/src/winsup/cygwin/cygserver.h:82
Whoops, this is obviously wrong. Note to self: never p
Original Message
>From: Dave Korn
>Sent: 04 March 2005 17:14
> hglb = GetClipboardData (format);
>
> So, GetClipboardData is failing and returning NULL.
... yet bizarrely, GetLastError returns zero. Oh dear.
cheers,
DaveK
--
Can't think of a witty .sigline today
Original Message
>From: Igor Pechtchanski
>Sent: 04 March 2005 16:55
> On Fri, 4 Mar 2005, Pat Kane wrote:
>> To duplicate the problem try: cat /dev/clipboard
>> first with a text selection and then after using Windows to copy a
>> program (right click, copy), or after taking a scr
On Fri, 4 Mar 2005, Igor Pechtchanski wrote:
> On Fri, 4 Mar 2005, Pat Kane wrote:
>
> > I am having problems using /dev/clipboard. When there is a text
> > selection on the Windows clipboard things work as expected, but if
> > there is some other type of selection I get: "Segmentation fault (c
On Fri, 4 Mar 2005, Pat Kane wrote:
> I am having problems using /dev/clipboard. When there is a text
> selection on the Windows clipboard things work as expected, but if
> there is some other type of selection I get: "Segmentation fault (core
> dumped)"
>
> To duplicate the problem try:
I am having problems using /dev/clipboard. When there is a text
selection on the Windows clipboard things work as expected, but if
there is some other type of selection I get: "Segmentation fault (core
dumped)"
To duplicate the problem try: cat /dev/clipboard
first with a text selection
13 matches
Mail list logo