Click here to Skip to main content
12,955,118 members (58,518 online)
Click here to Skip to main content

Tagged as


Posted 20 Sep 2012

Making mfc call a function continuously until success is returned.

, 20 Sep 2012 CPOL
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
3 - publicly available No 20-Sep-12 21:49 Available Jochen Arndt
Updates in content. 66 changes had been made.
2 No 20-Sep-12 21:41 Available Jochen Arndt
Updates in content. 18 changes had been made.
1 No 20-Sep-12 21: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).

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170525.1 | Last Updated 21 Sep 2012
Article Copyright 2012 by Jochen Arndt
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid