Hi Roberto,
I know that this item is very old for you, but it is possible that you remember it.
I have used your code, and it was for me very and very useful, it is true.
When you are at "debug mode", Labwindows "register" its own "F12" hotkey in order to you can do a "break execution". But, at "release mode", it "aparently" occurs nothing when you press de F12 key. And, and this is the question, when I register de "F12" hotkey, the RegisterHotKey function gives to me the same error in debug or release mode: 1409 "the hot key already exists".
Then, can I use the "F12" hot key in my CVI applications? How can I avoid the 1409 error at release mode?