When selecting "Global" for keyboard control for DMXC I can the error "Keyboard hook could not be set. The keyboard input will not work. Error 5"
Anyway to configure windows or the program to make it work?
Thanks.
When selecting "Global" for keyboard control for DMXC I can the error "Keyboard hook could not be set. The keyboard input will not work. Error 5"
Anyway to configure windows or the program to make it work?
Thanks.
I found out that if I disable the UAC in Windows 7 that it works. Would like to find a way to make it work without having to disable UAC.
Hello,
do you run DMX Control as administrator?
I never had that problem, and if it works without the UAC thats the only reason I could imagine.
sorry for my bad english ![]()
Chris
Hi,
I used this function on my old Vista-PC to control the command line tool of DMXC with my Numb-Pad and to flash the submaster-channels with the F2-F12-keys. Now i tryed this function with my Win 7-PC aswell and after starting DMXC with administrator rights once, it worked when DMXC is the active program and without checking "global". When you check "suppress used keys", you should not get any problems as long as DMXC is the active program.
Regards,
JP
Same problem here. (Windows 7, UAC enabled)
Even with administrative privileges i still get the error. Disabling UAC solves this.
Stefan
I don't know how you implemented the hook, but i've done one today:
The error is ERROR_ACCESS_DENIED, probably when calling SetWindowsHookEx?
This is how i set up the my hook. (It works pretty good)
The last two paremeters are important hMod and dwThreadId have to be NULL and 0.
See MSDN why.
If UAC is enabled and a window from an application that has administrative privileges is active, the hook chain will not be called.
AFAIK there is nothing you can do except disabling UAC.
Dennis