Thread: Pause a program
View Single Post
Old 08-25-2006, 05:03 AM  
FuqALot
Confirmed User
 
Join Date: Dec 2001
Location: Malibu
Posts: 3,817
You need to execute a process message - you need to add a line in the while loop - telling the program to process all new input, so that it won't hang.

I have no idea how to do it in C++, in Delphi I would add: Application.Processmessages; -- I googled it and maybe you should try to add the following in the while loop: Application->ProcessMessages();
FuqALot is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote