Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
2026-09-07: After more 5 000 000 (five million) views on forum for 1.8.x.x development versions... A new stable version, UltraVNC 1.8.2.9 has been released: viewtopic.php?t=38203 Feedback is always welcome
2026-04-01: After 1.7.x, 1.8.x release builds need tests and feedback: viewtopic.php?t=38158
2025-12-02: We need help: English Wikipedia UltraVNC page has been requested to deletion: viewtopic.php?t=38127 Any help is welcome to improve the UltraVNC page and/or to comment on the Wikipedia Talk page
2025-06-25: After more 2 000 000 (two million) views on forum for 1.5.0.x development versions... and 1.6.1.0, 1.6.3.0-dev versions A new stable version, UltraVNC 1.6.4.0 and UltraVNC SC 1.6.4.0 have been released: viewtopic.php?t=38095 Feedback is always welcome
I think I have a fix to the cad problem but need to recompile the source to test.
I am currently trying to build UltraVNC (winvnc.exe) from source. I have scoured these forums and have yet to find a fix to my problem. I can currently build the 1.0.8.2 source into an executable without error. However, the size is off and certain things don't work, MSlogon, the about screen on WinVNC server, etc. What is the required build environment?
I have tried on Clean installs of WinXP and Win7(x64) with no SDKs installed and it doesn't make any difference.
This is what I am currently using:
Microsoft Visual Studio 2008
Version 9.0.30729.1 SP
Microsoft .NET Framework
Version 3.5 SP1
Installed Edition: Professional
Microsoft Visual Basic 2008 xxxxx-xxx-xxxxxxx-xxxxx
Microsoft Visual Basic 2008
Microsoft Visual C# 2008 xxxxx-xxx-xxxxxxx-xxxxx
Microsoft Visual C# 2008
Microsoft Visual C++ 2008 xxxxx-xxx-xxxxxxx-xxxxx
Microsoft Visual C++ 2008
Microsoft Visual Studio 2008 Tools for Office xxxxx-xxx-xxxxxxx-xxxxx
Microsoft Visual Studio 2008 Tools for Office
Microsoft Visual Web Developer 2008 xxxxx-xxx-xxxxxxx-xxxxx
Microsoft Visual Web Developer 2008
Crystal Reports XXXXX-XXXXXXX-XXXXXXX
Crystal Reports Basic for Visual Studio 2008
Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB944899) KB944899
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/944899.
Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB945282) KB945282
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/945282.
Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB946040) KB946040
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946040.
Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB946308) KB946308
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946308.
Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB946344) KB946344
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946344.
Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB946581) KB946581
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946581.
Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947171) KB947171
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947171.
Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947173) KB947173
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947173.
Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947180) KB947180
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947180.
Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947540) KB947540
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947540.
Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947789) KB947789
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947789.
Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB948127) KB948127
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/948127.
Microsoft Visual Studio 2008 Professional Edition - ENU Service Pack 1 (KB945140) KB945140
This service pack is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/945140.
Microsoft Visual Studio 2008 Professional Edition - ENU Service Pack 1 (KB947888) KB947888
This service pack is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947888.
Microsoft Visual Studio 2008 Professional Edition - ENU Service Pack 1 (KB948484) KB948484
This service pack is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/948484.
Windows Installer XML Toolset 3.0
Windows Installer XML Toolset 3.0.5419.0
Copyright (c) Microsoft Corporation. All rights reserved.
I don't actually get any build errors. That's the weirdest part.
My resulting 1.0.8.2 winvnc.exe executable is 1,582,592 bytes from unmodified source. The uvnc.com distributed binary is 1,590,216 bytes. Add to that the about screen, the configuration windows, msloogon auth, and a host of other things don't work on the 1.0.8.2 that I compiled. It's as if the source is incomplete or there are different libraries being used.
This is the entire build log.
1>------ Build started: Project: rdr, Configuration: Release Win32 ------
2>------ Build started: Project: omnithread, Configuration: Release Win32 ------
2>Compiling...
1>Compiling...
2>nt.cpp
1>FdInStream.cxx
1>ZlibOutStream.cxx
1>ZlibInStream.cxx
1>NullOutStream.cxx
1>InStream.cxx
1>FdOutStream.cxx
1>Creating library...
2>Creating library...
2>Build log was saved at "file://c:\UltraVNC1.0.8.2\winvnc\omnithread\Release\BuildLog.htm"
2>omnithread - 0 error(s), 0 warning(s)
1>Build log was saved at "file://c:\UltraVNC1.0.8.2\rdr\Release\BuildLog.htm"
1>rdr - 0 error(s), 0 warning(s)
3>------ Build started: Project: zip32, Configuration: Release Win32 ------
3>Compiling...
3>api.c
4>------ Build started: Project: unz32lib, Configuration: Release Win32 ------
4>Compiling...
4>api.c
3>..\..\..\api.c(112) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
3> C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\string.h(74) : see declaration of 'strcpy'
3>..\..\..\api.c(141) : warning C4996: 'strncat': This function or variable may be unsafe. Consider using strncat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
3> C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\string.h(144) : see declaration of 'strncat'
3>..\..\..\api.c(146) : warning C4996: 'strncat': This function or variable may be unsafe. Consider using strncat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
3> C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\string.h(144) : see declaration of 'strncat'
3>..\..\..\api.c(151) : warning C4996: 'strncat': This function or variable may be unsafe. Consider using strncat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
3> C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\string.h(144) : see declaration of 'strncat'
3>..\..\..\api.c(188) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
3> C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\string.h(74) : see declaration of 'strcpy'
3>zipup.c
4>zipinfo.c
4>windll.c
3>..\..\..\zipup.c(1113) : warning C4013: 'deflate_copy' undefined; assuming extern returning int
3>zipfile.c
4>win32.c
3>zip.c
4>..\..\..\win32\win32.c(810) : warning C4244: 'return' : conversion from 'time_t' to 'int', possible loss of data
4>unshrink.c
3>windll.c
4>unreduce.c
4>process.c
3>win32zip.c
4>nt.c
4>match.c
3>..\..\..\win32\win32zip.c(658) : warning C4013: 'printff' undefined; assuming extern returning int
3>win32.c
4>list.c
3>..\..\..\win32\win32.c(324) : warning C4244: 'return' : conversion from 'time_t' to 'int', possible loss of data
3>util.c
4>inflate.c
4>globals.c
3>ttyio.c
4>fileio.c
3>trees.c
4>extract.c
4>..\..\..\extract.c(1637) : warning C4013: 'inflate_copy' undefined; assuming extern returning int
4>explode.c
3>nt.c
4>crypt.c
3>globals.c
4>crctab.c
4>crc_i386.c
3>fileio.c
4>crc32.c
3>deflate.c
4>Generating Code...
3>crypt.c
4>Creating library...
3>crctab.c
4>Build log was saved at "file://c:\UltraVNC1.0.8.2\zipunzip_src\unzip\windll\vc6\lib\Release\BuildLog.htm"
4>unz32lib - 0 error(s), 2 warning(s)
5>------ Build started: Project: libjpeg, Configuration: Release Win32 ------
5>Compiling...
5>jcapimin.c
3>crc32.c
5>jutils.c
5>jquant2.c
5>jquant1.c
5>jmemnobs.c
3>Generating Code...
5>jmemmgr.c
5>jidctred.c
5>jidctint.c
5>jidctfst.c
5>jidctflt.c
5>jfdctint.c
3>Compiling resources...
5>jfdctfst.c
5>jfdctflt.c
5>jerror.c
5>jdtrans.c
3>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
3>Copyright (C) Microsoft Corporation. All rights reserved.
3>Creating library...
5>jdsample.c
5>jdpostct.c
5>jdphuff.c
5>jdmerge.c
3>Build log was saved at "file://c:\UltraVNC1.0.8.2\zipunzip_src\zip20\windll\visualc\lib\Release\BuildLog.htm"
3>zip32 - 0 error(s), 8 warning(s)
5>jdmaster.c
5>Compiling...
5>jdmarker.c
6>------ Build started: Project: zlib, Configuration: Release Win32 ------
6>Compiling...
5>jdmainct.c
6>adler32.c
5>jdinput.c
6>zutil.c
5>jdhuff.c
5>jddctmgr.c
6>uncompr.c
5>jdcolor.c
6>trees.c
5>jdcoefct.c
5>jdatasrc.c
6>inftrees.c
5>jdatadst.c
5>jdapistd.c
6>inflate.c
5>jdapimin.c
5>jctrans.c
6>inffast.c
5>jcsample.c
6>gzio.c
5>jcprepct.c
6>deflate.c
5>jcphuff.c
6>crc32.c
5>jcparam.c
6>compress.c
5>jcomapi.c
5>jcmaster.c
6>Creating library...
5>jcmarker.c
5>jcmainct.c
6>Build log was saved at "file://c:\UltraVNC1.0.8.2\zlib\Release\BuildLog.htm"
6>zlib - 0 error(s), 0 warning(s)
5>Compiling...
5>jcinit.c
5>jchuff.c
5>jcdctmgr.c
5>jccolor.c
5>jccoefct.c
5>jcapistd.c
5>Creating library...
5>Build log was saved at "file://c:\UltraVNC1.0.8.2\libjpeg\Release\BuildLog.htm"
5>libjpeg - 0 error(s), 0 warning(s)
7>------ Build started: Project: winvnc, Configuration: Release Win32 ------
7>Compiling...
7>ZipUnzip32.cpp
7>winvnc.cpp
7>win32_helpers.cpp
7>vsocket.cpp
7>.\vsocket.cpp(536) : warning C4018: '>' : signed/unsigned mismatch
7>.\vsocket.cpp(569) : warning C4018: '>' : signed/unsigned mismatch
7>vnctimedmsgbox.cpp
7>vncsockconnect.cpp
7>vncsetauth.cpp
7>vncservice.cpp
7>vncserver.cpp
7>.\vncserver.cpp(1475) : warning C4800: 'BOOL' : forcing value to bool 'true' or 'false' (performance warning)
7>vncpropertiesPoll.cpp
7>vncproperties.cpp
7>vncOSVersion.cpp
7>vncntlm.cpp
7>vncMultiMonitor.cpp
7>vncmenu.cpp
7>vnclog.cpp
7>vncListDlg.cpp
7>vnckeymap.cpp
7>vncinsthandler.cpp
7>vnchttpconnect.cpp
7>Compiling...
7>vncencodezrle.cpp
7>vncEncodeZlibHex.cpp
7>vncEncodeZlib.cpp
7>vncEncodeUltra.cpp
7>vncEncodeTight.cpp
7>vncencoderre.cpp
7>vncencoderCursor.cpp
7>vncencoder.cpp
7>vncencodehext.cpp
7>vncencodecorre.cpp
7>vncdesktopthread.cpp
7>vncDesktopSW.cpp
7>vncdesktopsink.cpp
7>vncdesktop.cpp
7>vncconndialog.cpp
7>vncclient.cpp
7>.\vncclient.cpp(224) : warning C4996: 'std::copy': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators'
7> C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xutility(2576) : see declaration of 'std::copy'
7>vncbuffer.cpp
7>vncacceptdialog.cpp
7>vncabout.cpp
7>vistahook.cpp
7>Compiling...
7>videodrivercheck.cpp
7>videodriver.cpp
7>translate.cpp
7>TextChat.cpp
7>stdhdrs.cpp
7>service_motor.cpp
7>service.cpp
7>.\service.cpp(194) : warning C4996: 'swprintf': swprintf has been changed to conform with the ISO C standard, adding an extra character count parameter. To use traditional Microsoft swprintf, set _CRT_NON_CONFORMING_SWPRINTFS.
7> C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\swprintf.inl(85) : see declaration of 'swprintf'
7>security.cpp
7>rfbUpdateTracker.cpp
7>rfbRegion_X11.cxx
7>rfbRegion_win32.cpp
7>read_write_ini.cpp
7>IPC.cpp
7>initipp.cpp
7>inifile.cpp
7>HideDesktop.cpp
7>helpers.cpp
7>getinfo.cpp
7>Dtwinver.cpp
7>DSMPlugin.cpp
7>Compiling...
7>dh.cpp
7>CpuUsage.cpp
7>buildtime.cpp
7>black_layered.cpp
7>Compiling...
7>vncauth.c
7>minilzo.c
7>d3des.c
7>Compiling resources...
7>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
7>Copyright (C) Microsoft Corporation. All rights reserved.
7>Performing Pre-Link Event...
7>buildtime.cpp
7>Linking...
7>Generating code
7>Finished generating code
7>Embedding manifest...
7>Build log was saved at "file://c:\UltraVNC1.0.8.2\winvnc\Release\BuildLog.htm"
7>winvnc - 0 error(s), 5 warning(s)
========== Build: 7 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Last edited by ColtB45 on 2010-02-25 17:12, edited 2 times in total.
With VisualStudio2008 you have to open the projektfile for example winvnc.sln for winvnc.
I can compile it without errors, but if I run the build winvnc.exe I get the error:
"Diese Anwendung konnte nicht gestartet werden, weil die Anwendungskonfiguration nicht korrekt ist..."