I have been reading ICEZLION multithreading doc.

Well i need multithreading for a program im developing, so i call CreateThread to create a working thread, then CloseHandle as ICZELION says. In the thread routine i do a while with a condition to prevent the thread stop, but in the insatant of creating the thread all works ok (the thread runs), but then only runs when i move the main window??. I mean the thread stop and only runs when i move the main window.

Any help please?
Posted on 2005-04-07 06:29:08 by Ateneo
How do you know that it is only running while the main window is moving?  Is this a graphical program?  Are there objects that are moving that aren't until you move the window?  Are you handling repainting correctly?  You need to give more information in order to be helped.
Posted on 2005-04-07 15:58:46 by gorshing