Compiling source code

James (Wez) Weatherall jnw22 "at" cam.ac.uk
Tue, 23 Nov 1999 16:58:45 +0000


Visual C++ 5 lacks some extra definitions found in VC6.  At the cost of
losing the Disable Local Keyboard & Mouse feature, there is a patched
version of VNChooks.cpp which will compile cleanly on VC5 which I can send
you, if you like.

Cheers,

James "Wez" Weatherall
--
          "Xenophobes should go back to Xenophobia"
Laboratory for Communications Engineering, Cambridge - Tel : 766513
AT&T Labs Cambridge, UK                              - Tel : 343000

----- Original Message -----
From: William Burgess <wmburgess "at" powertechnology.com>
To: <vnc-list "at" uk.research.att.com>
Sent: Tuesday, November 23, 1999 4:45 PM
Subject: Compiling source code


I am new to C++ and I am trying to make some simple modifications to VNC.
Before I make any changes, I want to compile the source. I keep getting the
following errors when I compile:

--------------------Configuration: VNCHooks - Win32
Profile--------------------
Compiling...
Command line warning D4002 : ignoring unknown option '/ZI'
VNCHooks.cpp
E:\vnc\source\vnc_winsrc\winvnc\VNCHooks\VNCHooks.cpp(259) : error C2065:
'WH_KEYBOARD_LL' : undeclared identifier
E:\vnc\source\vnc_winsrc\winvnc\VNCHooks\VNCHooks.cpp(289) : error C2065:
'WH_MOUSE_LL' : undeclared identifier
E:\vnc\source\vnc_winsrc\winvnc\VNCHooks\VNCHooks.cpp(721) : error C2065:
'KBDLLHOOKSTRUCT' : undeclared identifier
E:\vnc\source\vnc_winsrc\winvnc\VNCHooks\VNCHooks.cpp(721) : error C2065:
'hookStruct' : undeclared identifier
E:\vnc\source\vnc_winsrc\winvnc\VNCHooks\VNCHooks.cpp(721) : error C2059:
syntax error : ')'
E:\vnc\source\vnc_winsrc\winvnc\VNCHooks\VNCHooks.cpp(722) : error C2227:
left of '->flags' must point to class/struct/union
E:\vnc\source\vnc_winsrc\winvnc\VNCHooks\VNCHooks.cpp(722) : error C2065:
'LLKHF_INJECTED' : undeclared identifier
E:\vnc\source\vnc_winsrc\winvnc\VNCHooks\VNCHooks.cpp(741) : error C2065:
'MSLLHOOKSTRUCT' : undeclared identifier
E:\vnc\source\vnc_winsrc\winvnc\VNCHooks\VNCHooks.cpp(741) : error C2059:
syntax error : ')'
E:\vnc\source\vnc_winsrc\winvnc\VNCHooks\VNCHooks.cpp(742) : error C2227:
left of '->flags' must point to class/struct/union
E:\vnc\source\vnc_winsrc\winvnc\VNCHooks\VNCHooks.cpp(742) : error C2065:
'LLMHF_INJECTED' : undeclared identifier
Error executing cl.exe.

VNCHooks.dll - 11 error(s), 1 warning(s)


I am using C++ 5.0 on a win95 machine.

Can someone offer some guidance? Please be specific, I'm new to C++.

WmB



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