Click here to Skip to main content
16,006,378 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: static constructors and destructors in C++ Pin
Nish Nishant14-Feb-02 18:12
sitebuilderNish Nishant14-Feb-02 18:12 
GeneralRe: static constructors and destructors in C++ Pin
Michael Dunn14-Feb-02 18:27
sitebuilderMichael Dunn14-Feb-02 18:27 
GeneralRe: static constructors and destructors in C++ Pin
Nish Nishant14-Feb-02 18:39
sitebuilderNish Nishant14-Feb-02 18:39 
GeneralRe: static constructors and destructors in C++ Pin
Michael Dunn14-Feb-02 19:01
sitebuilderMichael Dunn14-Feb-02 19:01 
GeneralRe: static constructors and destructors in C++ Pin
Ravi Bhavnani14-Feb-02 19:41
professionalRavi Bhavnani14-Feb-02 19:41 
GeneralMessage Removed Pin
14-Feb-02 20:59
sitebuilderNish Nishant14-Feb-02 20:59 
GeneralRe: static constructors and destructors in C++ Pin
Ravi Bhavnani15-Feb-02 1:57
professionalRavi Bhavnani15-Feb-02 1:57 
GeneralRe: static constructors and destructors in C++ Pin
Atul Dharne14-Feb-02 20:07
Atul Dharne14-Feb-02 20:07 
You are not redeclaring it but you are just declaring it. As it is static it resides even if your class object has not been constructed. It is like using static variables in functions or global vars. IMO the compiler initialises them to zero if you don't do the essentials. So here just after your class def you should initialize it otherwise the compiler spews errors.

Atul

Sonork 100.13714 netdiva
GeneralRe: static constructors and destructors in C++ Pin
Hugo González Castro26-Nov-11 20:08
professionalHugo González Castro26-Nov-11 20:08 
GeneralRe: static constructors and destructors in C++ Pin
Atul Dharne14-Feb-02 18:05
Atul Dharne14-Feb-02 18:05 
GeneralUse MFC or SDK Pin
14-Feb-02 15:12
suss14-Feb-02 15:12 
GeneralRe: Use MFC or SDK Pin
Jon Sagara14-Feb-02 15:18
Jon Sagara14-Feb-02 15:18 
GeneralRe: Use MFC or SDK Pin
14-Feb-02 16:26
suss14-Feb-02 16:26 
GeneralRe: Use MFC or SDK Pin
Derek Waters14-Feb-02 17:00
Derek Waters14-Feb-02 17:00 
GeneralRe: Use MFC or SDK Pin
Atul Dharne14-Feb-02 17:04
Atul Dharne14-Feb-02 17:04 
GeneralRe: Use MFC or SDK Pin
Jon Sagara14-Feb-02 17:13
Jon Sagara14-Feb-02 17:13 
GeneralRe: Use MFC or SDK Pin
Nish Nishant14-Feb-02 16:27
sitebuilderNish Nishant14-Feb-02 16:27 
GeneralRe: Use MFC or SDK Pin
Michael Dunn14-Feb-02 17:36
sitebuilderMichael Dunn14-Feb-02 17:36 
GeneralRe: Use MFC or SDK Pin
Rick York14-Feb-02 18:15
mveRick York14-Feb-02 18:15 
GeneralRe: Use MFC or SDK Pin
alex.barylski14-Feb-02 19:05
alex.barylski14-Feb-02 19:05 
GeneralMike is right Pin
Ravi Bhavnani14-Feb-02 19:14
professionalRavi Bhavnani14-Feb-02 19:14 
GeneralRe: Use MFC or SDK Pin
alex.barylski14-Feb-02 19:24
alex.barylski14-Feb-02 19:24 
GeneralRe: Use MFC or SDK Pin
Navier15-Feb-02 14:10
Navier15-Feb-02 14:10 
GeneralMDI Question Pin
RobJones14-Feb-02 14:55
RobJones14-Feb-02 14:55 
GeneralRe: MDI Question Pin
Derek Waters14-Feb-02 17:08
Derek Waters14-Feb-02 17:08 

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.