Hi All,
I am new to VNC, i heard about SC, i have downloaded the source code, but while compiling i am getting following errors. I am thankfull if any one can help me out on this.
I have used Windows 2003 server as operating system and Visual Studio 6
###############################################
--------------------Configuration: omnithread - Win32 Debug--------------------
Compiling...
nt.cpp
Creating library...
--------------------Configuration: rdr - Win32 Debug--------------------
Compiling...
FdInStream.cxx
FdOutStream.cxx
InStream.cxx
NullOutStream.cxx
ZlibInStream.cxx
ZlibOutStream.cxx
Creating library...
--------------------Configuration: Xregion - Win32 Debug--------------------
Compiling...
Region.c
Creating library...
--------------------Configuration: zlib - Win32 Debug--------------------
Compiling...
adler32.c
compress.c
crc32.c
deflate.c
gzio.c
inffast.c
inflate.c
inftrees.c
trees.c
uncompr.c
zutil.c
Creating library...
--------------------Configuration: winvnc - Win32 Debug--------------------
Compiling resources...
Compiling...
black_layered.cpp
buildtime.cpp
DSMPlugin.cpp
d:\srinivas_ssis\ultravncsingleclick\scii\z_sc\dsmplugin\dsmplugin.cpp(297) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
d:\srinivas_ssis\ultravncsingleclick\scii\z_sc\dsmplugin\dsmplugin.cpp(356) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
Dtwinver.cpp
HideDesktop.cpp
rfbRegion_X11.cxx
d:\srinivas_ssis\ultravncsingleclick\scii\z_sc\xregion\region.h(62) : warning C4005: 'MAXSHORT' : macro redefinition
h:\program files\microsoft visual studio\vc98\include\winnt.h(685) : see previous definition of 'MAXSHORT'
d:\srinivas_ssis\ultravncsingleclick\scii\z_sc\xregion\region.h(63) : warning C4005: 'MINSHORT' : macro redefinition
h:\program files\microsoft visual studio\vc98\include\winnt.h(684) : see previous definition of 'MINSHORT'
d:\srinivas_ssis\ultravncsingleclick\scii\z_sc\winvnc\winvnc\rfbregion_x11.cxx(149) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
rfbUpdateTracker.cpp
stdhdrs.cpp
Test.cpp
TextChat.cpp
translate.cpp
d:\srinivas_ssis\ultravncsingleclick\scii\z_sc\winvnc\winvnc\tableinitcmtemplate.cpp(72) : warning C4018: '<' : signed/unsigned mismatch
d:\srinivas_ssis\ultravncsingleclick\scii\z_sc\winvnc\winvnc\tableinitcmtemplate.cpp(72) : warning C4018: '<' : signed/unsigned mismatch
d:\srinivas_ssis\ultravncsingleclick\scii\z_sc\winvnc\winvnc\tableinitcmtemplate.cpp(72) : warning C4018: '<' : signed/unsigned mismatch
videodriver.cpp
videodrivercheck.cpp
d:\srinivas_ssis\ultravncsingleclick\scii\z_sc\winvnc\winvnc\videodrivercheck.cpp(105) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
vncabout.cpp
vncbuffer.cpp
d:\srinivas_ssis\ultravncsingleclick\scii\z_sc\winvnc\winvnc\vncbuffer.cpp(1094) : warning C4805: '==' : unsafe mix of type 'int' and type 'const bool' in operation
d:\srinivas_ssis\ultravncsingleclick\scii\z_sc\winvnc\winvnc\vncbuffer.cpp(1095) : warning C4805: '==' : unsafe mix of type 'int' and type 'const bool' in operation
d:\srinivas_ssis\ultravncsingleclick\scii\z_sc\winvnc\winvnc\vncbuffer.cpp(1096) : warning C4805: '==' : unsafe mix of type 'int' and type 'const bool' in operation
d:\srinivas_ssis\ultravncsingleclick\scii\z_sc\winvnc\winvnc\vncbuffer.cpp(1096) : warning C4805: '==' : unsafe mix of type 'int' and type 'const bool' in operation
vncclient.cpp
d:\srinivas_ssis\ultravncsingleclick\scii\z_sc\winvnc\winvnc\vncclient.cpp(1260) : warning C4800: 'unsigned char' : forcing value to bool 'true' or 'false' (performance warning)
vncdesktop.cpp
d:\srinivas_ssis\ultravncsingleclick\scii\z_sc\winvnc\winvnc\vncdesktop.cpp(431) : warning C4805: '==' : unsafe mix of type 'int' and type 'const bool' in operation
d:\srinivas_ssis\ultravncsingleclick\scii\z_sc\winvnc\winvnc\vncdesktop.cpp(1951) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
vncDesktopSW.cpp
vncdesktopthread.cpp
d:\srinivas_ssis\ultravncsingleclick\scii\z_sc\winvnc\winvnc\vncdesktopthread.cpp(334) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
d:\srinivas_ssis\ultravncsingleclick\scii\z_sc\winvnc\winvnc\vncdesktopthread.cpp(468) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
d:\srinivas_ssis\ultravncsingleclick\scii\z_sc\winvnc\winvnc\vncdesktopthread.cpp(834) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
vncencodehext.cpp
vncencoder.cpp
vncencoderCursor.cpp
vncencodezrle.cpp
vncinsthandler.cpp
vnckeymap.cpp
vnclog.cpp
vncmenu.cpp
d:\srinivas_ssis\ultravncsingleclick\scii\z_sc\winvnc\winvnc\vncmenu.cpp(382) : error C2065: 'NIF_INFO' : undeclared identifier
d:\srinivas_ssis\ultravncsingleclick\scii\z_sc\winvnc\winvnc\vncmenu.cpp(383) : error C2039: 'szInfo' : is not a member of '_NOTIFYICONDATAA'
h:\program files\microsoft visual studio\vc98\include\shellapi.h(500) : see declaration of '_NOTIFYICONDATAA'
d:\srinivas_ssis\ultravncsingleclick\scii\z_sc\winvnc\winvnc\vncmenu.cpp(384) : error C2039: 'szInfoTitle' : is not a member of '_NOTIFYICONDATAA'
h:\program files\microsoft visual studio\vc98\include\shellapi.h(500) : see declaration of '_NOTIFYICONDATAA'
d:\srinivas_ssis\ultravncsingleclick\scii\z_sc\winvnc\winvnc\vncmenu.cpp(385) : error C2039: 'uTimeout' : is not a member of '_NOTIFYICONDATAA'
h:\program files\microsoft visual studio\vc98\include\shellapi.h(500) : see declaration of '_NOTIFYICONDATAA'
d:\srinivas_ssis\ultravncsingleclick\scii\z_sc\winvnc\winvnc\vncmenu.cpp(386) : error C2039: 'dwInfoFlags' : is not a member of '_NOTIFYICONDATAA'
h:\program files\microsoft visual studio\vc98\include\shellapi.h(500) : see declaration of '_NOTIFYICONDATAA'
d:\srinivas_ssis\ultravncsingleclick\scii\z_sc\winvnc\winvnc\vncmenu.cpp(386) : error C2065: 'NIIF_INFO' : undeclared identifier
d:\srinivas_ssis\ultravncsingleclick\scii\z_sc\winvnc\winvnc\vncmenu.cpp(398) : error C2039: 'szInfo' : is not a member of '_NOTIFYICONDATAA'
h:\program files\microsoft visual studio\vc98\include\shellapi.h(500) : see declaration of '_NOTIFYICONDATAA'
d:\srinivas_ssis\ultravncsingleclick\scii\z_sc\winvnc\winvnc\vncmenu.cpp(399) : error C2039: 'szInfoTitle' : is not a member of '_NOTIFYICONDATAA'
h:\program files\microsoft visual studio\vc98\include\shellapi.h(500) : see declaration of '_NOTIFYICONDATAA'
d:\srinivas_ssis\ultravncsingleclick\scii\z_sc\winvnc\winvnc\vncmenu.cpp(400) : error C2039: 'uTimeout' : is not a member of '_NOTIFYICONDATAA'
h:\program files\microsoft visual studio\vc98\include\shellapi.h(500) : see declaration of '_NOTIFYICONDATAA'
d:\srinivas_ssis\ultravncsingleclick\scii\z_sc\winvnc\winvnc\vncmenu.cpp(401) : error C2039: 'dwInfoFlags' : is not a member of '_NOTIFYICONDATAA'
h:\program files\microsoft visual studio\vc98\include\shellapi.h(500) : see declaration of '_NOTIFYICONDATAA'
vncMultiMonitor.cpp
vncOSVersion.cpp
vncproperties.cpp
vncpropertiesPoll.cpp
vncserver.cpp
vncservice.cpp
vncsockconnect.cpp
vsocket.cpp
winvnc.cpp
D:\Srinivas_SSIS\ultravncsingleclick\SCII\Z_SC\winvnc\winvnc\winvnc.cpp(526) : error C2065: 'WS_EX_LAYERED' : undeclared identifier
D:\Srinivas_SSIS\ultravncsingleclick\SCII\Z_SC\winvnc\winvnc\winvnc.cpp(527) : error C2065: 'LWA_COLORKEY' : undeclared identifier
D:\Srinivas_SSIS\ultravncsingleclick\SCII\Z_SC\winvnc\winvnc\winvnc.cpp(527) : error C2065: 'LWA_ALPHA' : undeclared identifier
ZipUnzip32.cpp
Error executing cl.exe.
winvnc.exe - 13 error(s), 19 warning(s)
###############################################
--
Thanks & Regards
Srinivasa Rao,
Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
How to compile the SC source code
How to compile the SC source code
Srinivasa Rao S
Technical Consultant,
Bangalore
Ph.No: 919980132116
Technical Consultant,
Bangalore
Ph.No: 919980132116
Re: How to compile the SC source code
First use Visual Studio 6.
Download and install PSDK-Full.
In Options/Directories , add Include path "C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE", and move it on top of paths. Add library path "C:\PROGRAM FILES\MICROSOFT SDK\LIB", and move it on top of paths.
That works for me.
Download and install PSDK-Full.
In Options/Directories , add Include path "C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE", and move it on top of paths. Add library path "C:\PROGRAM FILES\MICROSOFT SDK\LIB", and move it on top of paths.
That works for me.
ka mate, ka mate, ka ora, ka ora....