Click here to Skip to main content
15,899,555 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Trouble linking with particular libs Pin
AceCoolie16-Aug-06 10:57
AceCoolie16-Aug-06 10:57 
QuestionConvert Convert C# code to C++ 2005 with extended stored procedure Pin
sea200616-Aug-06 7:00
sea200616-Aug-06 7:00 
AnswerRe: Convert Convert C# code to C++ 2005 with extended stored procedure [modified] Pin
sea200616-Aug-06 7:02
sea200616-Aug-06 7:02 
Questionmultiple selection list box Pin
kumar_mk16-Aug-06 6:51
kumar_mk16-Aug-06 6:51 
AnswerRe: multiple selection list box Pin
Chris Losinger16-Aug-06 7:01
professionalChris Losinger16-Aug-06 7:01 
GeneralRe: multiple selection list box Pin
kumar_mk16-Aug-06 7:24
kumar_mk16-Aug-06 7:24 
AnswerRe: multiple selection list box Pin
David Crow16-Aug-06 7:25
David Crow16-Aug-06 7:25 
QuestionOperator Overloading Pin
RichardS16-Aug-06 6:17
RichardS16-Aug-06 6:17 
Hi All,

I have a structure that contains a list of function delegates. Each of the delegates do something different. Depending on how the parent class is initialised, depends on which of delegates is populated.

Now the question is, can I overload the '->' operator, so that the calling code can call one of the delegates in the structure by calling the same name.

e.g.
class X { struct y { fastdelegate someMemberDelegateOfY; ... } ... }
{
 X myX;
 myX->someMemberDelegateOfY (parameters,for,delegate,in,struct,y);
}

Then when the code executes, it will call the delegate in the structure.

Is this possible, and if so how?

thanks,
Rich


"Programming today is a race between software engineers striving to build bigger and
better idiot-proof programs, and the Universe trying to produce bigger and better idiots.
So far the Universe is winning." -- Rich Cook

AnswerRe: Operator Overloading Pin
valikac16-Aug-06 8:03
valikac16-Aug-06 8:03 
AnswerRe: Operator Overloading Pin
Zac Howland16-Aug-06 10:34
Zac Howland16-Aug-06 10:34 
GeneralRe: Operator Overloading Pin
RichardS16-Aug-06 21:00
RichardS16-Aug-06 21:00 
QuestionPaint/Invalidate problem ( HTML browser ) maybe WS_CLIPCHILDREN related ? Pin
Maximilien16-Aug-06 6:01
Maximilien16-Aug-06 6:01 
QuestionTCP socket time out Pin
nahitan16-Aug-06 5:36
nahitan16-Aug-06 5:36 
AnswerRe: TCP socket time out [modified] Pin
S Douglas22-Aug-06 21:11
professionalS Douglas22-Aug-06 21:11 
QuestionSyntax problems Pin
Jay0316-Aug-06 5:19
Jay0316-Aug-06 5:19 
AnswerRe: Syntax problems Pin
Rage16-Aug-06 5:23
professionalRage16-Aug-06 5:23 
GeneralRe: Syntax problems Pin
Jay0316-Aug-06 5:51
Jay0316-Aug-06 5:51 
GeneralRe: Syntax problems Pin
led mike16-Aug-06 5:59
led mike16-Aug-06 5:59 
GeneralRe: Syntax problems Pin
Hamid_RT17-Aug-06 6:20
Hamid_RT17-Aug-06 6:20 
QuestionIssues with HtmlHelp Pin
Shaffiq16-Aug-06 4:19
Shaffiq16-Aug-06 4:19 
AnswerRe: Issues with HtmlHelp Pin
Sam Levy16-Aug-06 8:37
Sam Levy16-Aug-06 8:37 
GeneralRe: Issues with HtmlHelp Pin
Shaffiq16-Aug-06 20:03
Shaffiq16-Aug-06 20:03 
QuestionCImageList and CListCtrl Pin
Wim Engberts16-Aug-06 4:11
Wim Engberts16-Aug-06 4:11 
QuestionRe: CImageList and CListCtrl Pin
David Crow16-Aug-06 5:18
David Crow16-Aug-06 5:18 
AnswerRe: CImageList and CListCtrl Pin
Wim Engberts16-Aug-06 6:07
Wim Engberts16-Aug-06 6:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.