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

1.2.2.1 schook.dll Versions/Filesize

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

1.2.2.1 schook.dll Versions/Filesize

Post by Prisma »

Hi Rudi,

I just noticed that in older distribution the filesize of schook.dll was 69KB. With 1.2.2.1 it's 136KB. But the version number stayed the same 1.0.0.2.

Regarding this we have a bunch of questions, sorry for that. I would be very kind if you would take you time to answer these questions. A short info on each item would be enough.
[*] What's the reason for that?
[*] Do we ship now a wrong (64-bit instead of 32-bit) version?
[*] Does it matter which version of schook.dll runs (except 32/64 bit of course!)? Did anything change the last years regarding this dll?

Cheers Greg
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: 1.2.2.1 schook.dll Versions/Filesize

Post by Rudi De Vos »

schook didn't changed for years,
This dll give hints about the changed location, usufull on xp or win7 without driver.
Not needed with ddengine.
It's more or less the same as the vnchook, but use internal the accesibility engine to detect changes.

Size: Different compiler, the old code was build with VC6.0 for sc so that the dll was as small as possible
For 32/64 bit i need to verify this evening, current don't have access to the build tree
Prisma
100
100
Posts: 320
Joined: 2005-10-27 15:50

Re: 1.2.2.1 schook.dll Versions/Filesize

Post by Prisma »

THX, Rudi, waiting for your verification.

(without debugging it's always hard to check which dlls are really loaded, or which are loaded, but not used because of OS considerations.
Maybe this was an useful improvement for balloon tips on system notification area, or info menu or whatever on the server. Maybe would be
also better for you when users report problems and they would be able to report exactly what modules are actually loaded from winvnc.exe)
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: 1.2.2.1 schook.dll Versions/Filesize

Post by Rudi De Vos »

The ballon indicate if the hook/ddengine application/service. ( when the viewer is connected)

vnchook is used when system hooking [v]
shook.dll is used when system hooking [v]
if vnchook exist and schook then schook is used when system hooking [v]

For me, only on xp or w2k the hook was realy an improvement.
On slow systems you can avoid the fullscreen polling, but some aplications doesn't like hooking and fail
For me, the disadvantage of hooking is higher then the extra speed on slow systems
Prisma
100
100
Posts: 320
Joined: 2005-10-27 15:50

Re: 1.2.2.1 schook.dll Versions/Filesize

Post by Prisma »

Thank you for clarification. We disable TrayIcon by default, therefore I've seen the TrayIcons Balloon the last time in maybe year 2006 a.d. :D Sorry for that.

From what I have understood:
1. Packaging vnchooks.dll besides schook.dll makes no sense, because always schook.dll is used over vnchooks.dll.
2. We should consider if it's really necessary to ship any hook dll at all, because the main improvement was seen only on dead OSs (Win2000/XP)
3. Following 2. it could make sense to ship only ddengine.dll, and that's it.

Did I get you right?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: 1.2.2.1 schook.dll Versions/Filesize

Post by Rudi De Vos »

32/64 name differ
SCHook64.dll
SCHook.dll

win8>= ddengine wil do the trick on 98% of the cards.
(some virtual systems like virtualbox, the video driver doesn't it.)
Post Reply