Multithreading problem
Hi,
I am programming a multithreaded game engine, where I have one thread that should just sit and process windows messages (at least for now). The problem is that I create the window in another thread, and PeekMessage refuses to get messages from another thread. So how can I retrieve messages from a window created in a different thread?
You can''t. You have to create the window in the thread that you wish to handle the window''s messages.
- null_pointer
Sabre Multimedia
- null_pointer
Sabre Multimedia
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement