0 Members and 11 Guests are viewing this topic.
The hook is in the .exe file.
A global hook monitors messages for all threads in the same desktop as the calling thread. A thread-specific hook monitors messages for only an individual thread. A global hook procedure can be called in the context of any application in the same desktop as the calling thread, so the procedure must be in a separate DLL module. A thread-specific hook procedure is called only in the context of the associated thread. If an application installs a hook procedure for one of its own threads, the hook procedure can be in either the same module as the rest of the application's code or in a DLL. If the application installs a hook procedure for a thread of a different application, the procedure must be in a DLL.
I have tried to improve it. Please try this one.
Try this one.
Try this one. It uses application level key hijack so it wont' interfere with the system. But "Shift+NumPadKey" combination is no longer available as I couldn't find a possible way. If any one still wants the low level keyboard hooking, I can consider an option.
Pressing "Tab" in the newly released version (Jan-26-2014) causing Nvil to crash.(Nvil has stopped working:- Event name: CLR20r3)Pressing other keys, such as "Spacebar" or "Shift" also make Nvil crash.
I have not had much time to fully check, but..With Jan-25 build, I only see a problem with the "Tab" key, where it will tab across 2 input fields with just one press of "Tab". All other keys appear to be OK up to now.With Jan-26 build, [with new config], it looks like any key (on release) causes Nvil to crash. For example. If I press "Spacebar" (with default new config), the window under mouse pointer will maximize, but when I then release the "Spacebar" nvil crashes. If I pres "Alt + LMB" I can rotate viewport, I can release LMB and still no problem, but when "Alt" released, then crash.I can press any key without a problem, but when the key released, Nvil will crash.