Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Making mfc call a function continuously until success is returned.

, 20 Sep 2012
Using an infinite (or even time consuming) loop is a bad idea. It will block your application with probably high CPU load. The best solution would be posting a user defined message to the dialog from a thread that waits for the attach event.A simpler method is using a timer inside your...



Compare Revision Minor Date Status Editor
publicly available No 21-Sep-12 3:49 Available Jochen Arndt
Updates in content. 66 changes had been made.
2 No 21-Sep-12 3:41 Available Jochen Arndt
Updates in content. 18 changes had been made.
1 No 21-Sep-12 3:39 Available Jochen Arndt


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Jochen Arndt
Germany Germany
Jochen started programming in the 80s using Assembler (Z80, 8080, x86), BASIC, C, and TurboPascal. Actually he uses mainly C++ and Perl. He is a graduate engineer in communications engineering (University of Applied Sciences Kiel, 1991).
Follow on   Google+

| Advertise | Privacy | Mobile
Web02 | 2.8.140721.1 | Last Updated 21 Sep 2012
Article Copyright 2012 by Jochen Arndt
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid