Click here to Skip to main content
15,887,135 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How does this template work [modified] Pin
CPallini27-Apr-10 21:18
mveCPallini27-Apr-10 21:18 
GeneralRe: How does this template work Pin
Cedric Moonen27-Apr-10 21:28
Cedric Moonen27-Apr-10 21:28 
GeneralRe: How does this template work PinPopular
Emilio Garavaglia28-Apr-10 1:47
Emilio Garavaglia28-Apr-10 1:47 
GeneralRe: How does this template work Pin
Cedric Moonen28-Apr-10 1:52
Cedric Moonen28-Apr-10 1:52 
GeneralRe: How does this template work Pin
Richard MacCutchan28-Apr-10 3:40
mveRichard MacCutchan28-Apr-10 3:40 
GeneralRe: How does this template work Pin
Cedric Moonen28-Apr-10 3:58
Cedric Moonen28-Apr-10 3:58 
GeneralRe: How does this template work Pin
Richard MacCutchan28-Apr-10 5:41
mveRichard MacCutchan28-Apr-10 5:41 
AnswerRe: How does this template work Pin
hanq_3891013027-Apr-10 21:00
hanq_3891013027-Apr-10 21:00 
There is difference between "global function" and "class member function" only when the latter refers to the object's "this pointer". If not, these two functions are the same.

In your situation, the "(*s).func1();" doesn't refer to "this pointer". So it behaves just like a "global function". It doesn't use "this pointer" which is NULL here, hence no error there.
QuestionSetup and Deplyment Project : Running external exe Pin
TechAvtar27-Apr-10 19:55
TechAvtar27-Apr-10 19:55 
AnswerRe: Setup and Deplyment Project : Running external exe Pin
hanq_3891013027-Apr-10 21:12
hanq_3891013027-Apr-10 21:12 
GeneralRe: Setup and Deplyment Project : Running external exe Pin
TechAvtar27-Apr-10 22:58
TechAvtar27-Apr-10 22:58 
QuestionExcel Open Pin
rdop27-Apr-10 19:45
rdop27-Apr-10 19:45 
QuestionRe: Excel Open Pin
CPallini27-Apr-10 20:30
mveCPallini27-Apr-10 20:30 
AnswerRe: Excel Open Pin
rdop27-Apr-10 20:50
rdop27-Apr-10 20:50 
GeneralRe: Excel Open Pin
CPallini27-Apr-10 21:14
mveCPallini27-Apr-10 21:14 
GeneralRe: Excel Open Pin
rdop27-Apr-10 21:54
rdop27-Apr-10 21:54 
AnswerRe: Excel Open Pin
Game-point28-Apr-10 17:01
Game-point28-Apr-10 17:01 
GeneralRe: Excel Open Pin
rdop29-Apr-10 18:51
rdop29-Apr-10 18:51 
QuestionRight-Click Menu on ListView / Win32 Pin
Fareed Rizkalla27-Apr-10 16:35
Fareed Rizkalla27-Apr-10 16:35 
AnswerRe: Right-Click Menu on ListView / Win32 Pin
Saurabh.Garg27-Apr-10 17:38
Saurabh.Garg27-Apr-10 17:38 
GeneralRe: Right-Click Menu on ListView / Win32 Pin
Fareed Rizkalla27-Apr-10 18:30
Fareed Rizkalla27-Apr-10 18:30 
GeneralRe: Right-Click Menu on ListView / Win32 Pin
Saurabh.Garg27-Apr-10 18:44
Saurabh.Garg27-Apr-10 18:44 
QuestionRe: Right-Click Menu on ListView / Win32 Pin
David Crow28-Apr-10 3:53
David Crow28-Apr-10 3:53 
QuestionHiding C++ Class implementation in a DLL Pin
Maikeru200027-Apr-10 14:25
Maikeru200027-Apr-10 14:25 
AnswerRe: Hiding C++ Class implementation in a DLL Pin
Saurabh.Garg27-Apr-10 15:49
Saurabh.Garg27-Apr-10 15:49 

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.