Re: One last compilation question

Aaron Colflesh <[email protected]> Fri, 15 Apr 2005 12:50:53 -0500
Newsgroups gmane.network.vnc.ultravnc.general
Organization Synthesys Computer Solutions
Message-ID <[email protected]>
Ok I think I answered my own question. I happened to notice the 
following error message while compiling another part of it & suspect its 
related:

> NOTE: WINVER has been defined as 0x0500 or greater which enables
> Windows NT 5.0 and Windows 98 features. When these headers were released,
> Windows NT 5.0 beta 1 and Windows 98 beta 2.1 were the current versions.
> For this release when WINVER is defined as 0x0500 or greater, you can only
> build beta or test applications.  To build a retail application,
> set WINVER to 0x0400 or visit http://www.microsoft.com/msdn/sdk

AC

Aaron Colflesh wrote:

> Ok wow, thanks for the quick response to my previous question De Vos Rudi!
> As per his suggestion, I'm now focusing on compiling WinVNC SC. 
> Unfortunatly I seem to have a bit of a problem (errors below). The 
> machine I'm compiling on is running a fully updated WinXP Pro & I'm 
> using VC++6.
>
> Any suggestions?
> AC
>
> *From Build log:*
> winvnc\winvncsc\vncmenu.cpp(337) : error C2065: 'NIF_INFO' : 
> undeclared identifier
> winvnc\winvncsc\vncmenu.cpp(338) : error C2039: 'szInfo' : is not a 
> member of '_NOTIFYICONDATAA'
>         VC98\INCLUDE\shellapi.h(500) : see declaration of 
> '_NOTIFYICONDATAA'
> winvnc\winvncsc\vncmenu.cpp(339) : error C2039: 'szInfoTitle' : is not 
> a member of '_NOTIFYICONDATAA'
>        VC98\INCLUDE\shellapi.h(500) : see declaration of 
> '_NOTIFYICONDATAA'
> winvnc\winvncsc\vncmenu.cpp(340) : error C2039: 'uTimeout' : is not a 
> member of '_NOTIFYICONDATAA'
>         VC98\INCLUDE\shellapi.h(500) : see declaration of 
> '_NOTIFYICONDATAA'
> winvnc\winvncsc\vncmenu.cpp(341) : error C2039: 'dwInfoFlags' : is not 
> a member of '_NOTIFYICONDATAA'
>         VC98\INCLUDE\shellapi.h(500) : see declaration of 
> '_NOTIFYICONDATAA'
> winvnc\winvncsc\vncmenu.cpp(341) : error C2065: 'NIIF_INFO' : 
> undeclared identifier
> winvnc\winvncsc\vncmenu.cpp(353) : error C2039: 'szInfo' : is not a 
> member of '_NOTIFYICONDATAA'
>         VC98\INCLUDE\shellapi.h(500) : see declaration of 
> '_NOTIFYICONDATAA'
> winvnc\winvncsc\vncmenu.cpp(354) : error C2039: 'szInfoTitle' : is not 
> a member of '_NOTIFYICONDATAA'
>         VC98\INCLUDE\shellapi.h(500) : see declaration of 
> '_NOTIFYICONDATAA'
> winvnc\winvncsc\vncmenu.cpp(355) : error C2039: 'uTimeout' : is not a 
> member of '_NOTIFYICONDATAA'
>         VC98\INCLUDE\shellapi.h(500) : see declaration of 
> '_NOTIFYICONDATAA'
> winvnc\winvncsc\vncmenu.cpp(356) : error C2039: 'dwInfoFlags' : is not 
> a member of '_NOTIFYICONDATAA'
>         VC98\INCLUDE\shellapi.h(500) : see declaration of 
> '_NOTIFYICONDATAA'