Click here to Skip to main content
12,447,242 members (60,563 online)
Rate this:
Please Sign up or sign in to vote.
See more: C++ VC9.0
How to use delegates in vc++ win32 console application? after declaring and initializing the delegate. How to create and signal the event using that delegate.
Posted 14-Aug-12 1:34am
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

The links in Solution 1 are all geared towards the .NET environment. From the tags of your question it might well be that you are not using .NET, but plain C++ code.

A good article with a smooth introduction of delegates can be found here on CodeProject:

Member Function Pointers and the Fastest Possible C++ Delegates

Try this one, but be warned that this is an advanced subject.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.160811.3 | Last Updated 14 Aug 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100