Sign in to follow this  

DLLs and messages

This topic is 4483 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello! I'm new in programming DLLs. My question is that how can I get my DLL to handle input events (keyboard or mouse) which are generated while a program that loads my DLL is running. As I know, DLLs can't handle messages. Thx

Share this post


Link to post
Share on other sites
You can use specific Windows hooks ( SetWindowsHookEx(...) ) or you can create a message pump in the dll and receive messages there.

Share this post


Link to post
Share on other sites
Sign in to follow this