Ultra VNC Server hooks + second Hook

Developers may discuss here.

Ultra VNC Server hooks + second Hook

Postby tatane16 » 2013-05-22 10:52

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.
tatane16
 
Posts: 2
Joined: 2013-05-22 09:18

Re: Ultra VNC Server hooks + second Hook

Postby Rudi De Vos » 2013-05-22 13:55

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

Re: Ultra VNC Server hooks + second Hook

Postby tatane16 » 2013-05-23 06:31

Thanks. I will test it as soon as possible.

Edit : Actually the problem came from UAC. I deactivated it and it works fine now.
tatane16
 
Posts: 2
Joined: 2013-05-22 09:18


Return to Developer discussions (mainly user-mode)

Who is online

Users browsing this forum: No registered users and 2 guests