Problems with xwinclip version 0.5/0.6
Dr. Volker Zell
Dr.Volker.Zell@oracle.com
Tue Oct 22 02:01:00 GMT 2002
>>>>> "Chris" == Chris Twiner <c_twiner@hotmail.com> writes:
Chris> Hi Volker,
Chris> Can you try the version I posted last month (there were several
Chris> versions but the last post holds the best version).
Okay I downloaded
o xwinclip-20020622-0007.tar.bz2 - http://www.msu.edu/~huntharo/xwin/xwinclip/xwinclip-20020622-0007.tar.bz2
and
o xwinclip_chris_twiner - http://sources.redhat.com/ml/cygwin-xfree/2002-09/msg00042/xwinclip_chris_twiner.zip
attached to your message from # Sun, 08 Sep 2002 22:23:21 +0000
I then copied over your stuff to the xwinclip-20020622-0007 release and did a
xmkmf
make
./build_dll.SH
The last step gave me:
Build the Dll
linking hook dll DllMain as entry point
Creating library file: libxwinclip_hook.import.a
xwinclip_hook.o(.eh_frame+0x11):xwinclip_hook.cpp: undefined reference to `__gxx_personality_v0'
So I added to the link line in the build_dll.SH script: -L/lib/mingw -lstdc++
---
#!/bin/bash
echo
echo Build the Dll
echo
gcc -c xwinclip_hook.cpp -o xwinclip_hook.o
echo linking hook dll DllMain as entry point
gcc -Wl,--out-implib,libxwinclip_hook.import.a -shared -e _DllMain@12 -mno-cygwin -o xwinclip_hook.dll xwinclip_hook.o -L/lib/mingw -lstdc++
---
Now I had xwinclip.exe and xwinclip_hook.dll. I tried with both rootless and nonrooless mode
but in both cases when starting up xwinclip I get:
UnicodeSupport - Windows NT/2000/XP
starting thread
message id is 36
message id is 129
message id is 131
the hwnd is 1179884
!!! Message for another window recieved, ioctl not being called before windows messages recieved is probable problem
could not get set hook func
Chris> It solves the clearing of the selection. I am suprised that the
Chris> test06 solved your problem, it didn't with me or other users. I use
Chris> NEdit so I have the same issue with active regions.
Chris> With respect to the selection maintaining two different clipboards can
Chris> you tell me if it seems to behave the same with my changes?
See above
Chris> Also if you're testing rootless mode it would be good to know if it
Chris> works in that (it looks for a focus change in the root window so I am
See above
Chris> not sure it will), I haven't had time to have a look yet.
Chris> Regards,
Chris> Chris
Ciao
Volker
More information about the Cygwin-xfree
mailing list