Celebrating the 22th anniversary of the UltraVNC: https://forum.uvnc.com/viewtopic.php?t=38031
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
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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

Help compiling winvnc.exe

Post Reply
Kylerk
Posts: 4
Joined: 2005-02-28 23:08
Location: NYC

Help compiling winvnc.exe

Post by Kylerk »

Hi,
I am new to environment that I am programming in and I am having a problem compiling winvnc.exe. I am using MS Visual C++ V 6.0 with SP5 on a computer that is running Windows XP with SP2.
In vncservice.cpp I am getting an "undeclared identifier" error for "WTSGetActiveConsoleSessionId". I know from the online MS documentation that this is supposed to be defined in Winbase.h, but my version of Winbase.h does not have it.
Does anyone know a fix for this situation?
Thanks,
Kylerk
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6883
Joined: 2004-04-23 10:21
Contact:

Post by Rudi De Vos »

"WTSGetActiveConsoleSessionId" was used in an older code
and required the MS SDK installed.

The SDK (2003) can be free downloaded from the MS site.
The SDK contain the headers and libs to support the functions
that where new in w2K and later.

We already removed this part in cvs. exe can not be used on older systems when you link with new functions.
Kylerk
Posts: 4
Joined: 2005-02-28 23:08
Location: NYC

Post by Kylerk »

Thanks Rudi! That was the problem.
Post Reply