Click here to Skip to main content
15,890,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: subclass a button, how let it know CLICK event Pin
Stephen Hewitt19-Sep-06 18:07
Stephen Hewitt19-Sep-06 18:07 
QuestionHow Do I Incorporate mySQL into my web CGI app made in C++ Pin
S0uthy19-Sep-06 16:01
S0uthy19-Sep-06 16:01 
AnswerRe: How Do I Incorporate mySQL into my web CGI app made in C++ Pin
Christian Graus19-Sep-06 16:07
protectorChristian Graus19-Sep-06 16:07 
GeneralRe: How Do I Incorporate mySQL into my web CGI app made in C++ Pin
Stephen Hewitt19-Sep-06 16:10
Stephen Hewitt19-Sep-06 16:10 
GeneralRe: How Do I Incorporate mySQL into my web CGI app made in C++ Pin
S0uthy20-Sep-06 13:54
S0uthy20-Sep-06 13:54 
GeneralRe: How Do I Incorporate mySQL into my web CGI app made in C++ Pin
Christian Graus20-Sep-06 13:59
protectorChristian Graus20-Sep-06 13:59 
QuestionNetwork communication programming problem Pin
zouchao111219-Sep-06 14:22
zouchao111219-Sep-06 14:22 
QuestionCPP Calling Syntax of Member functions. Pin
Bram van Kampen19-Sep-06 13:55
Bram van Kampen19-Sep-06 13:55 
I have declared:
typedef void (CMyClass::*LPFN_MYMETHOD)();

elsewhere in my code I have Something like:

void Func(){
CMyClass* pMyClass=(CMyClass*)GetMyClass();
LPFN_MYMETHOD pMethod=(LPFN_MYMETHOD)GetMyMethod();

// Now I want to do: pMyClass->pMethod();
// Easy symantics for humans, but aparently NOT for a compiler
}

I tried various variants, which either yielded that pMethod is not a member of CMyClass, or, that pMethod does not evaluate to a function

Does anyone know what the correct syntax is.


LateNightsInNewry

AnswerRe: CPP Calling Syntax of Member functions. Pin
Bram van Kampen19-Sep-06 15:35
Bram van Kampen19-Sep-06 15:35 
AnswerRe: CPP Calling Syntax of Member functions. Pin
Stephen Hewitt19-Sep-06 16:04
Stephen Hewitt19-Sep-06 16:04 
GeneralRe: CPP Calling Syntax of Member functions. Pin
Bram van Kampen24-Sep-06 14:25
Bram van Kampen24-Sep-06 14:25 
GeneralRe: CPP Calling Syntax of Member functions. Pin
Bram van Kampen29-Sep-06 17:01
Bram van Kampen29-Sep-06 17:01 
GeneralRe: CPP Calling Syntax of Member functions. Pin
Stephen Hewitt30-Sep-06 1:28
Stephen Hewitt30-Sep-06 1:28 
GeneralRe: CPP Calling Syntax of Member functions. Pin
Bram van Kampen3-Oct-06 15:09
Bram van Kampen3-Oct-06 15:09 
Questionhow to search through a database Pin
ivanris19-Sep-06 13:43
ivanris19-Sep-06 13:43 
AnswerRe: how to search through a database Pin
Christian Graus19-Sep-06 13:48
protectorChristian Graus19-Sep-06 13:48 
Questionproblem using VC++ DLL in VC# Pin
saania khan19-Sep-06 13:43
saania khan19-Sep-06 13:43 
AnswerRe: problem using VC++ DLL in VC# Pin
Christian Graus19-Sep-06 13:44
protectorChristian Graus19-Sep-06 13:44 
GeneralRe: problem using VC++ DLL in VC# Pin
saania khan21-Sep-06 19:27
saania khan21-Sep-06 19:27 
GeneralRe: problem using VC++ DLL in VC# Pin
Christian Graus21-Sep-06 19:36
protectorChristian Graus21-Sep-06 19:36 
QuestionLPSTR question Pin
JBAK_CP19-Sep-06 12:23
JBAK_CP19-Sep-06 12:23 
AnswerRe: LPSTR question Pin
Chipperm19-Sep-06 12:29
Chipperm19-Sep-06 12:29 
GeneralRe: LPSTR question Pin
JBAK_CP19-Sep-06 12:47
JBAK_CP19-Sep-06 12:47 
QuestionOpening Network Connections dialog Pin
samaruf19-Sep-06 11:45
samaruf19-Sep-06 11:45 
AnswerRe: Opening Network Connections dialog Pin
Mohammad A Gdeisat19-Sep-06 12:28
Mohammad A Gdeisat19-Sep-06 12:28 

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.