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.