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
- 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

Can you compile SC without the SystemHook DLL selected.

Single Click discussions / bugs
Post Reply
kenray
Posts: 4
Joined: 2010-03-18 14:12
Location: S. Indiana

Can you compile SC without the SystemHook DLL selected.

Post by kenray »

Is it possible to do an on-line compile of single click without the SystemHook DLL option as default? When unchecked the SC works great with our custom app as well as all Windows versions. As a work around we have found that after the SC server connects to a viewer, we can remotely open the SC server properties from the tray and un-select the system hook. As long as we apply without OK the session has great response. If you select OK it goes back to the default.
Scott817
8
8
Posts: 12
Joined: 2005-07-05 22:42

Re: Can you compile SC without the SystemHook DLL selected.

Post by Scott817 »

I also have this same issue. As soon as we uncheck that box we can view everything. Is there a config file or anything I can add to disable this option?

Thanks for any help or info
Scott817
8
8
Posts: 12
Joined: 2005-07-05 22:42

Re: Can you compile SC without the SystemHook DLL selected.

Post by Scott817 »

I made a install set without the dll even in it and still had the same issue until I unchecked the System Hook dll option on the remote pc.
Scott817
8
8
Posts: 12
Joined: 2005-07-05 22:42

Re: Can you compile SC without the SystemHook DLL selected.

Post by Scott817 »

Does anyone know a way to do this? Any help is greatly appreciated.
hulvi
Posts: 4
Joined: 2010-10-18 13:48

Re: Can you compile SC without the SystemHook DLL selected.

Post by hulvi »

kenray wrote:Is it possible to do an on-line compile of single click without the SystemHook DLL option as default?
Hi,
you can open sc.exe using 7-Zip and rename SCHook.dll
Unfortunetaly Vista and friends show "unknown issuer".

Or use "7-ZIP SFX Maker" to create the sc.exe yourself.

Does anyone know if there is a switch (like -disablehook) to disable SCHook.dll?

Thank you very much

Hulvi
Scott817
8
8
Posts: 12
Joined: 2005-07-05 22:42

Re: Can you compile SC without the SystemHook DLL selected.

Post by Scott817 »

Will there ever be a answer to this? ANy info is appreciated.
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: Can you compile SC without the SystemHook DLL selected.

Post by B »

I would have thought it would work fine just be removing the DLL. At least in SCPrompt and ChunkVNC (which use the full version of UltraVNC) the software seems to gracefully ignore the absence of the hook and other optional DLLs... ?
devils
Posts: 1
Joined: 2011-06-06 13:04

Re: Can you compile SC without the SystemHook DLL selected.

Post by devils »

in your 'ultravnc.ini"

[poll]
EnableHook=0

0 off
1 on

i dunno if it helps

i assume - SCHook.dll
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Can you compile SC without the SystemHook DLL selected.

Post by Rudi De Vos »

If the dll doesn't exist, it isn't used.
Does 7zip allow to delete the file from the sfx archieve ?
smgerber
8
8
Posts: 28
Joined: 2012-01-29 19:39

Re: Can you compile SC without the SystemHook DLL selected.

Post by smgerber »

Does anyone know whether this issue has a solution. On Windows 7 I have found 3 programs so far where the viewer freezes unless the option to not use system hook is selected manually. (Firefox, Spybot 1.6, Windows DVD Maker)
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: Can you compile SC without the SystemHook DLL selected.

Post by B »

Ah looks as if you've found the right thread. As Rudi suggested, go ahead and try using 7-Zip to simply delete the DLL file from the EXE file (the one the SC creator makes) and see if it works.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Can you compile SC without the SystemHook DLL selected.

Post by Rudi De Vos »

Tested the schook.dll, seems that
AccessibleObjectFromEvent call ( This is a standard MS Accessiblity call)
cause the schook to hang when Firefox start .... crazy.
Seems only be the case when object is created.... removed position hint when object is created and no more hang.

online creator updated with new file... please test
smgerber
8
8
Posts: 28
Joined: 2012-01-29 19:39

Re: Can you compile SC without the SystemHook DLL selected.

Post by smgerber »

Rudi, I just tested your new online creator against WIN7 Home Premium.

The Firefox issue where it freezes the viewer is now working. Congrats.

Unfortunately there are two "howevers".

1. Spybot 1.6.2 still exhibits the problem . Clearly Firefox is more important but this suggests there are one and possibly more programs that will defeat the fix you made. Sorry. (Note: This problem also occurs with SC running on XP. Don't recall whether it did before.)

2. I generated the test SC file using the [WALLPAPER] option. At immediate connect I saw the wallpaper but then it quickly turned to a black background. Any chance your change caused this? Probably well worth someone else testing this.

Thanks and good luck ... Sam
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Can you compile SC without the SystemHook DLL selected.

Post by Rudi De Vos »

Only change is schook.dll, this doesn't have animpact on wallpaper and other.
Schook.dll just give hints about the screen changes..
Post Reply