Click here to Skip to main content
15,917,971 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionVC++ Faq's Pin
Ashraj198210-May-06 21:15
Ashraj198210-May-06 21:15 
AnswerRe: VC++ Faq's Pin
Russell'10-May-06 23:13
Russell'10-May-06 23:13 
AnswerRe: VC++ Faq's Pin
ThatsAlok11-May-06 2:51
ThatsAlok11-May-06 2:51 
GeneralRe: VC++ Faq's Pin
Russell'11-May-06 3:11
Russell'11-May-06 3:11 
GeneralRe: VC++ Faq's Pin
ThatsAlok11-May-06 3:24
ThatsAlok11-May-06 3:24 
Questionstatic and Updatedata Pin
Try10-May-06 20:25
Try10-May-06 20:25 
AnswerRe: static and Updatedata Pin
Stephen Hewitt10-May-06 20:38
Stephen Hewitt10-May-06 20:38 
AnswerRe: static and Updatedata Pin
Cedric Moonen10-May-06 21:05
Cedric Moonen10-May-06 21:05 
In addition to Stephen's answer: static member functions are not 'owned' by a particular instance of a class (they are 'shared' across all instances in fact). So this means they cannot access non-static member functions or variables (because this will require to know with which instance of the class they are dealing, which is impossible).
So, why do you need to have a static function ? Is there a specific reason for that ? I guess that you can simply change it into a non-static one.
If not, then provide more informations.
AnswerRe: static and Updatedata Pin
Nishad S10-May-06 21:42
Nishad S10-May-06 21:42 
GeneralRe: static and Updatedata Pin
Try10-May-06 22:05
Try10-May-06 22:05 
GeneralRe: static and Updatedata Pin
ThatsAlok11-May-06 2:50
ThatsAlok11-May-06 2:50 
GeneralRe: static and Updatedata Pin
Nishad S11-May-06 2:54
Nishad S11-May-06 2:54 
GeneralRe: static and Updatedata Pin
ThatsAlok11-May-06 3:25
ThatsAlok11-May-06 3:25 
GeneralRe: static and Updatedata Pin
Nishad S11-May-06 3:31
Nishad S11-May-06 3:31 
QuestionHow to copy a folder in FTP Pin
Vivek krishna10-May-06 19:35
Vivek krishna10-May-06 19:35 
AnswerRe: How to copy a folder in FTP Pin
ThatsAlok10-May-06 20:04
ThatsAlok10-May-06 20:04 
GeneralRe: How to copy a folder in FTP Pin
Vivek krishna10-May-06 20:29
Vivek krishna10-May-06 20:29 
GeneralRe: How to copy a folder in FTP Pin
Iain Clarke, Warrior Programmer10-May-06 22:40
Iain Clarke, Warrior Programmer10-May-06 22:40 
GeneralRe: How to copy a folder in FTP Pin
Vivek krishna10-May-06 23:56
Vivek krishna10-May-06 23:56 
GeneralRe: How to copy a folder in FTP Pin
ThatsAlok11-May-06 2:48
ThatsAlok11-May-06 2:48 
QuestionRe: How to copy a folder in FTP Pin
andy17939410-May-06 20:15
andy17939410-May-06 20:15 
AnswerRe: How to copy a folder in FTP Pin
Hamid_RT10-May-06 20:26
Hamid_RT10-May-06 20:26 
QuestionMessage queue Pin
voorugonda prashanth10-May-06 19:29
voorugonda prashanth10-May-06 19:29 
AnswerRe: Message queue Pin
Stephen Hewitt10-May-06 19:52
Stephen Hewitt10-May-06 19:52 
GeneralRe: Message queue Pin
voorugonda prashanth10-May-06 20:31
voorugonda prashanth10-May-06 20:31 

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.