A little help needed

James Weatherall jnw22 "at" cam.ac.uk
Thu, 04 Nov 1999 12:19:53 +0000


---
1. I get errors when compiling the WinVNC server, specifically related to =
constants and types used in low level hooking. I suppose that this is =
happening because some functions, types and constants (like WH_KEYBOARD_LL, =
KBDLLHOOKSTRUCT, etc.) are WinNT specific. Do you have any recommendation =
for a Win95 build? Should I just strip off such code?
---

Th problem iis actually with your compiler, not the platform.  The LowLevel =
hooks are very new and weren't around when VC5 came out.  Because of the =
way hooks are coded, it's probably easiest to put some #defines for the =
LowLevel hook values at the beginning of the VNCHooks file.  This will let =
you build WinVNC without havig to lose that functionality if ou ever run =
under NT.
I don't have the required values handy but anyone on the list who has VC =
handy can quickly loook them up and tell you.

---
3. Running VNC on a 10Mb local network, server and viewer both on Pentium =
233MHz, I did a simple test: just moving the mouse pointer around (no mouse =
buttons pressed). The effect was the following: at the server machine, I =
could see a smooth movement of the pointer, but, an the viewer, I just =
could see a mouse pointer jumping terribly, unless I moved it VERY slowly. =
Well, it just seemed that something was very wrong, because all I was doing =
was moving normally the mouse around the desktop, using 16 bits color =
depth, 800x600 at both ends. What could cause so much overhead?
---

Not sure.  Souds almost as if you've got Poll FullScreen or one of the =
other polling options active which is normally unnecessary for anything =
except Console windows.

Hope that helps,

Wez



---------------------------------------------------------------------
The VNC mailing list - see http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------