Lazarus
Programming => General => Topic started by: willbprog9933 on March 02, 2021, 06:56:15 pm
-
Greetings all,
In the C/C++ world, I have written a multi-view VNC viewer (SpiritVNC-FLTK) using libvncserver / libvncclient, but on some platforms, like macOS, FLTK doesn't seem to handle clicks as efficiently as on Linux, FreeBSD, OpenIndiana, etc.
Does anyone know of a library for use with Lazarus and/or fpc that provides VNC client stuff? If not, I would consider starting to work on one, but don't want to duplicate something that's already out there. When libvncserver / libvncclient was having problems in the past, I started work on my own VNC library, so I could try to port that progress over to fpc if there's nothing out there now.
Thank you friends! :D
-
What is available in terms of non-Pascal libraries? Specifically, what's e.g. TigerVNC written in: if it's C (rather than C++) it should be possible to generate a Pascal binding for it using h2pas which would probably be a good start.
MarkMLl
-
What is available in terms of non-Pascal libraries? Specifically, what's e.g. TigerVNC written in: if it's C (rather than C++) it should be possible to generate a Pascal binding for it using h2pas which would probably be a good start.
MarkMLl
Thanks for the reply MarkMLl.
I was actually asking about Pascal-centric libraries for VNC.
Thank you! :D
-
Also, I tried h2pas before on libvncserver and it didn't work out so well, but thanks for that suggestion too! :)
-
Also, I tried h2pas before on libvncserver and it didn't work out so well, but thanks for that suggestion too! :)
/Why/ didn't it work? It usually takes a bit of fettling, and that's an extremely common topic of discussion.
However the basic question is C vs C++, hence my earlier question which you've brushed under the carpet.
> I was actually asking about Pascal-centric libraries for VNC.
MarkMLl
-
Hello.
You may take a look at what was already done for Delphi, it should be (maybe) compatible with fpc.
For example:
http://delphivnc.sourceforge.net/
https://github.com/pjde/delphi-vnc
...
-
Hello.
You may take a look at what was already done for Delphi, it should be (maybe) compatible with fpc.
...
Thanks Fred vS. I checked those out, and the first one may give me a few ideas. I guess I won't be duplicating any recent work if I start on a Pascal-centric library for VNC.
Thank you MarkMLl and Fred vS! :D
-
https://sourceforge.net/projects/conectavnc/
https://sourceforge.net/p/dsk/dskvnc/ci/1.0.0.528/tree/
-
https://sourceforge.net/projects/conectavnc/
https://sourceforge.net/p/dsk/dskvnc/ci/1.0.0.528/tree/
Hello avra!
Thank you for those. :) The first one appears to be just C/C++ but the second has some interesting things in it.
I still think I'll just need to make my own (and share with everyone, of course ;) ). It will likely take a while because I'll be relearning the RFB protocol again and also learning to do heavy things in FPC. Yay! :D
Thanks again!
-
https://sourceforge.net/projects/conectavnc/
https://sourceforge.net/p/dsk/dskvnc/ci/1.0.0.528/tree/
Hello avra!
Thank you for those. :) The first one appears to be just C/C++
Look again: https://master.dl.sourceforge.net/project/conectavnc/0.9.0/Source/ConectaVNC_0.9.0.zip