|
-
April 24th, 1999, 12:49 AM
#1
Stop running
Hi guru,
I have a problem with my VC++ app. Sometimes my app will have dead loop
in a some subroutine where to wait for something happens. Can you please
tell me how to stop the loop from this app and let it continue to run
as usual. Thanks.
cepheid
-
April 24th, 1999, 10:13 AM
#2
Re: Stop running
No well written Windows program should have a while loop that just "waits" without yielding control to the other applications. This isn't DOS :-)
I'm not sure what you want, but here are a few suggestions:
- just take the loops out
- if you still want to loop, look about using threads
- same as above but create a loop by using a combination of PostMessage() and GetMessage() calls.
Regards,
Paul McKenzie
-
April 24th, 1999, 01:10 PM
#3
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|