Advertisement

Multithreading problem

Started by May 01, 2000 09:19 AM
0 comments, last by lomion 24 years, 7 months ago
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

This topic is closed to new replies.

Advertisement