Compiling source code

Bob Thiele bthiele "at" bigfoot.com
Wed, 24 Nov 1999 01:12:12 +0000


James,

Just today I tried to compile with VC5 and hit this same thing. Can you send
me the patch?

Thanks!

bthiele "at" bigfoot.com


----- Original Message -----
From: James (Wez) Weatherall <jnw22 "at" cam.ac.uk>
To: <vnc-list "at" uk.research.att.com>
Sent: Tuesday, November 23, 1999 9:57 AM
Subject: Re: Compiling source code


> 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
> ---------------------------------------------------------------------


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