1.2.2.1 schook.dll Versions/Filesize

1.2.2.1 schook.dll Versions/Filesize

Postby Prisma » 2019-03-15 11:36

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
Prisma
100
100
 
Posts: 292
Joined: 2005-10-27 15:50

Re: 1.2.2.1 schook.dll Versions/Filesize

Postby Rudi De Vos » 2019-03-15 13:57

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
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5898
Joined: 2004-04-23 10:21

Re: 1.2.2.1 schook.dll Versions/Filesize

Postby Prisma » 2019-03-15 14:11

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)
Prisma
100
100
 
Posts: 292
Joined: 2005-10-27 15:50

Re: 1.2.2.1 schook.dll Versions/Filesize

Postby Rudi De Vos » 2019-03-15 15:16

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
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5898
Joined: 2004-04-23 10:21

Re: 1.2.2.1 schook.dll Versions/Filesize

Postby Prisma » 2019-03-15 15:48

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?
Prisma
100
100
 
Posts: 292
Joined: 2005-10-27 15:50

Re: 1.2.2.1 schook.dll Versions/Filesize

Postby Rudi De Vos » 2019-03-15 20:43

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.)
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5898
Joined: 2004-04-23 10:21


Return to 1.2.2.x

Who is online

Users browsing this forum: No registered users and 1 guest

cron