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

Ultra VNC Server hooks + second Hook

Developers may discuss here
Post Reply
tatane16
Posts: 2
Joined: 2013-05-22 09:18

Ultra VNC Server hooks + second Hook

Post by tatane16 »

Hi,

I'm using UltraVNC for many years and recently I decided to develop an application to broadcast mouse & keyboard through LAN to update identical computer.
So this appli is launched with psexec on remote computers (1 master and multiple clients).
I used Autoit to develop it and "SetWindowsHookEx" function on all threads.
Here is my problem : It seems with the last version of UltraVNC (1.1.9.0) that it is in conflict with my own hooks. With the previous version (1.0.8.2) it worked fine.
I'm just a newbie in dev so is there something I can do for the 2 soft work together without conflict ?

Thanks for your time.

Sorry for my english.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: Ultra VNC Server hooks + second Hook

Post by Rudi De Vos »

There are two hooks vnchooks and schook.
winvnc.exe use the one that exist in winvnc.exe folder. ( if both exist some part is used of each hook)

1) move schook if it exist in winvnc.exe folder ( make sure winvnc isn't running else the dll is locked and can't be moved
2) test
3) move vnchook and place schook back
4) test again

You can always use the vnchook of 1082, this is compatible with the newer version.
tatane16
Posts: 2
Joined: 2013-05-22 09:18

Re: Ultra VNC Server hooks + second Hook

Post by tatane16 »

Thanks. I will test it as soon as possible.

Edit : Actually the problem came from UAC. I deactivated it and it works fine now.
Post Reply