Click here to Skip to main content
15,883,928 members
Articles / Desktop Programming / MFC

SyncInvoker: Keep Your GUI Responsive During Lengthy Synchronous Calls

Rate me:
Please Sign up or sign in to vote.
4.93/5 (20 votes)
16 Apr 2007CPOL4 min read 68.4K   462   54  
Keep your GUI responsive when making blocking synchronous calls. Dave offers a technique using SyncInvoker,
// stdafx.cpp : source file that includes just the standard includes
// PricingServer.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information

#include "stdafx.h"


By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

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


Written By
Technical Lead
United Kingdom United Kingdom
When Dave isn't trying to play drums, fly helicopters or race cars, he can be found coding hard and herding cats at JoinIn Networks He must try harder!

You can read Dave's ramblings in his blog Aliens Ate My GUI

Or, if you can be bothered, he twitters on BoomerDave

Comments and Discussions