The program in this directory shows how to add Wait functions, in this case WaitForSingleObject, into an MFC program without stalling the user interface. You must have Visual C++ to compile and run this example.