Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: 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://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Howto compile SC: Issue identified - to dumb to create build

SC <-> Proxy <-> Repeater <-> Proxy <-> Viewer
Post Reply
syrupnas
Posts: 4
Joined: 2006-10-08 07:50

Howto compile SC: Issue identified - to dumb to create build

Post by syrupnas »

Hi,

I think to have identified an issue related to SCcon.cpp - ReadSettings() that causes SC-SSL to crash if the registry key "ProxyServer" is missing on the executing system.
At the same time I'd like to contribute to development in trying to find a way to enable SC to read proxy settings from a proxy.pac.

So i created an environment in my "lab" to compile (bcc32) and test (Squid-/Apache on Lan + rootserver with fixed IP-address on the internet to utilize repeater).

However, my days as a (Unix based) developer have passed by long ago and from the different makefiles and .bat of the package that Rudi was so kind to provide me with, I can't figure out what files to use and how to compile SC.
At a glance, I tried to use the makefile from the sub folder 'winvnc', which stopped execution with an 'undefined symbol', but I suspicion that it builds the genuine vncserver instead of SC anyhow.

Do you have any "Top Of Your Head" answer available? Or maybe a link were this has been discussed before (which I did not make to identify myself from browsing the forums)?

Thank you and best regards,

Syrupnas
bevtech
800
800
Posts: 2168
Joined: 2005-08-03 14:07
Location: Pennsylvania, United States

Re: Howto compile SC: Issue identified - to dumb to create b

Post by bevtech »

On Line Single Click Creator Use the bottom one labled (TEST) for Single CLick III

Dont forget the helpdesk.txt, certificat.pem in your custom.zip ;)
http://sc.uvnc.com/index.php?section=19
Bevtech

Windows XP Home, Pro SP2, Windows 2003 SBS server SP2(EN), Windows Media Center Editon 2005,Windows Vista Home Prem.,Fedora Core 6,Win9X, PChelpware Rel 1.0,
UVNC V 1.0.8.2

User not developer..;)
syrupnas
Posts: 4
Joined: 2006-10-08 07:50

Re: Howto compile SC: Issue identified - to dumb to create b

Post by syrupnas »

Thanks for your quick reply.

However, I didn't mean to build a custom SCIII package.

My intention is to modify and compile the source code using the Borland C++ compiler, thus creating a new build. As I used the creator before, I guess it is not intended to be for that purpose.

Regards,

Syrupnas
bevtech
800
800
Posts: 2168
Joined: 2005-08-03 14:07
Location: Pennsylvania, United States

Re: Howto compile SC: Issue identified - to dumb to create b

Post by bevtech »

Have to compile using ms products.. I dont think it will let you compile in anything else

Check out the sandbox subform for some threads..;
Bevtech

Windows XP Home, Pro SP2, Windows 2003 SBS server SP2(EN), Windows Media Center Editon 2005,Windows Vista Home Prem.,Fedora Core 6,Win9X, PChelpware Rel 1.0,
UVNC V 1.0.8.2

User not developer..;)
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: Howto compile SC: Issue identified - to dumb to create b

Post by Rudi De Vos »

To compile we use VC6.0 + SP5 + VC6.0 processor pack +latest SDK that support VC6.0
syrupnas
Posts: 4
Joined: 2006-10-08 07:50

Re: Howto compile SC: Issue identified - to dumb to create b

Post by syrupnas »

Hi bevtech, hi Rudi,

thank's a lot for your hints.

I found the processor pack and the PSDK from Feb. 2003, but as it looks like, VC6.0 is not available for free while it's successor is already on the market.

In addition of not willing to spend around 250,-- bucks at this stage (please correct me if I'm wrong), I have to mess around with VS2005 every now and then anyhow (doing QA for a commercial software product).
So thinking about utilizing VC6.0 seems to be a dead end to me at this stage.

However, as a next step I'll browse the sandbox forum.
At a glance I recognized that there seems to be some information about building UltraVNC with VS 2005 Express.
Maybe that turns out to be my route to go.

Thanks again and best regards,

Syrupnas
lokkju
8
8
Posts: 9
Joined: 2006-10-17 23:05

Re: Howto compile SC: Issue identified - to dumb to create b

Post by lokkju »

You might want to look at the newest RealVNC sources to get an idea of configuration needed to use VS2005 to compile VNC.

One thing to note, be very careful to make you project an unmanaged C++ project, or else you will need the dotnet framework...
syrupnas
Posts: 4
Joined: 2006-10-08 07:50

Re: Howto compile SC: Issue identified - to dumb to create b

Post by syrupnas »

Hi lokkju,

these are the neat little hints that can save a days workload for someone beeing a noob on a new terrain (like me in this case ;-).

Thanks a lot.

Regards,

Syrupnas
Post Reply