Guest yatpeak Posted February 13, 2004 Report Share Posted February 13, 2004 Is there such a thing as a wait function in VC++? I know I could use a timer but I'm trying to make something happen over time in a fuction that can't be called by a timer. It would just make it much easier to use a wait. Thanks, Wyatt Link to comment Share on other sites More sharing options...
Guest RemyJ Posted February 14, 2004 Report Share Posted February 14, 2004 How about Sleep(DWORD msec) Be careful where you use it. You could hang the phone for the duration of the sleep if you put it in a window procedure or any function that is called from a window procedure. Link to comment Share on other sites More sharing options...
Guest yatpeak Posted February 17, 2004 Report Share Posted February 17, 2004 Thanks a lot for that, It'll really help. Wyatt Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now