Ok, I've a DLL that's hooked to pick up all Mouse and Keyboard events in it. What I then want to do is through all those to another window. I understand how to do simulate these events, with...
Type: Posts; User: seaders
Ok, I've a DLL that's hooked to pick up all Mouse and Keyboard events in it. What I then want to do is through all those to another window. I understand how to do simulate these events, with...
no, it wasn't it was waaaay more ridiculous than that! cout couldn't possibly work, because the event was firing under the other processes, so it was trying to print to their console, not my one! ...
a global WH_CBT hook should, from MSDN fire every time any window is activated, de-activated, sized, minimized, maximized, everything. however, from what I've written, it's only working locally, ie,...
I only left in the relevant parts because I thought that would be easier for others to see if / where I'm going wrong, here's the whole lot (the _lParam and_wParam thing was just a typo, based on how...
thanks for the reply Bob, but just so I understand, the only thing you've changed is getting rid of the nCode < 1 part and you're ensuring that pMouseStruct isn't NULL. I just tried that and nothing...
So I've a simple window program that starts up and hooks to a dll, (I'll try only post relevant parts)
Window and calling the DLL:
typedef void (*registerCall)(void*);
registerCall...
Hi all, I'm working on a fairly convoluted project and one of the things I've to do is serve out an image to a http server that will be running locally from a c++ programme. I've the exact thing...