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: https://forum.uvnc.com/viewtopic.php?t=38095
Feedback is always welcome

2025-12-05: Celebrating the 23th anniversary of the UltraVNC (26th anniversary since the laying of the foundation stone): https://forum.uvnc.com/viewtopic.php?t=38130

2025-12-03: Could you please complete our poll/survey? Renaming UltraVNC files and service to be more clear: https://forum.uvnc.com/viewtopic.php?t=38128
There was a problem to vote, it is solved now! Thanks in advance!

2025-12-02: We need help: English Wikipedia UltraVNC page has been requested to deletion: https://forum.uvnc.com/viewtopic.php?t=38127
Any help is welcome to improve the UltraVNC page and/or to comment on the Wikipedia Talk page

2025-05-06: Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078

2023-09-21: Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Development: UltraVNC development is always here... Any help is welcome
Feedback is welcome

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

Switching DLLs shouldn't be necessary

Post Reply
Prisma
100
100
Posts: 323
Joined: 2005-10-27 15:50

Switching DLLs shouldn't be necessary

Post by Prisma »

Hello Rudi,

wouldn't it be better if switching the DLLs (vnchook.dll, schook.dll, w8hook.dll) depending of th OS wouldn't be necessary? You wrote vnchook.dll and schook.dll isn't allowed to be unpacked, if I want to have w8hook.dll used. Did I understand this correct? Or is it just better for testing? To be 100% sure in case of a failure no other DLL is used?

(Yes, yes :wink: I could implement a logic to switch/unpack the DLLs OS depending at my side... But I think such elementary things should be handled by winvnc itself, shouldn't it?)
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6976
Joined: 2004-04-23 10:21
Contact:

Re: Switching DLLs shouldn't be necessary

Post by Rudi De Vos »

You can install the 3 hooks together.
w8hook..dll is only used when the OS >=win8
schook.dll replace vnchook.dll detection functions
(some vnchook functions are still active, for older OS's they are used to lock mouse/keyboard)

Yes, it was only for testing...
UltraVNC links (join us on social networks):
- Website: https://uvnc.com/
- Forum: https://forum.uvnc.com/
- GitHub sourcecode: https://github.com/ultravnc/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
- uvnc2me: https://uvnc2me.com/
Prisma
100
100
Posts: 323
Joined: 2005-10-27 15:50

Re: Switching DLLs shouldn't be necessary

Post by Prisma »

THX for reply
Prisma
100
100
Posts: 323
Joined: 2005-10-27 15:50

Re: Switching DLLs shouldn't be necessary

Post by Prisma »

For older OSs we use PollFullScreen=1. Does this influence the usage and behaviour of w8hook.dll in a bad way? Is it better not setting this flag on Windows 8? Or are all polling option bypassed by the usage of w8hook.dll?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6976
Joined: 2004-04-23 10:21
Contact:

Re: Switching DLLs shouldn't be necessary

Post by Rudi De Vos »

Polling works like this:
If a hook ( vnc/sh/w8) tell something on the screen has changed, no polling is done.
Hook hints are first processed.
When the hook tell nothing changed, we use this time to poll the screen for changes missed by the hooks.
If no changes are found we increase the time to next poll ( we don't want to use cpu on a static screen)

THe w8hook should detcet ALL changes, so it doesn't make a lot of sense to poll.
WHen you use polling +w8hook -> a little more cpu is used for screen scanning.
UltraVNC links (join us on social networks):
- Website: https://uvnc.com/
- Forum: https://forum.uvnc.com/
- GitHub sourcecode: https://github.com/ultravnc/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
- uvnc2me: https://uvnc2me.com/
Prisma
100
100
Posts: 323
Joined: 2005-10-27 15:50

Re: Switching DLLs shouldn't be necessary

Post by Prisma »

Thanx for the Info Rudi.
Post Reply