Closed YFforever2022 closed 5 days ago
Even though I set LIBVNCSERVER_HAVE_LIBZ and added zlib, I still cannot run SendClientCutTextUTF8 successfully. SendClientCutText can return 1, but the VNC server clipboard is not successfully set.
Please specify if you're trying to code a client or server and what type the remote end is. Are you maybe seeing #592?
Please specify if you're trying to code a client or server and what type the remote end is. Are you maybe seeing #592?
Hello, I am trying to write client code to connect to the VNC server that comes with VMware 16.1.2. I can successfully connect and obtain images and keyboard and mouse operations, but I cannot see success in setting the clipboard. I am not thinking about the UTF8 problem for now, and I cannot succeed in just sending English letters.
Please use the chat at https://gitter.im/LibVNC/libvncserver for future questions :-)
For this here question; I recommend you take a look at the client examples at https://github.com/LibVNC/libvncserver/tree/master/examples/client
It could also be that the server does not support UTF8 cuttext or no cuttext at all.
Thank you very much for your suggestion. I referred to the code but still failed. Maybe the VNC server does not support it. I gave up this direction.
Here is my code:
This is the log:
I haven't figured out how to solve this problem. This problem has troubled me for two or three days. I really need your help.