Click here to Skip to main content
16,011,905 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to transfer xml document on sockets? Pin
Anonymous28-Oct-02 5:58
Anonymous28-Oct-02 5:58 
QuestionHow to discover the failure of a mirror disk set (programatically)?? Pin
Lee Carter27-Oct-02 22:52
Lee Carter27-Oct-02 22:52 
AnswerRe: How to discover the failure of a mirror disk set (programatically)?? Pin
Lee Carter30-Oct-02 23:17
Lee Carter30-Oct-02 23:17 
GeneralCPP question Pin
alex.barylski27-Oct-02 21:38
alex.barylski27-Oct-02 21:38 
GeneralRe: CPP question Pin
Daniel Strigl27-Oct-02 21:57
Daniel Strigl27-Oct-02 21:57 
GeneralRe: CPP question Pin
alex.barylski28-Oct-02 6:33
alex.barylski28-Oct-02 6:33 
GeneralRe: CPP question Pin
ian mariano27-Oct-02 21:59
ian mariano27-Oct-02 21:59 
GeneralRe: CPP question Pin
Navin28-Oct-02 3:56
Navin28-Oct-02 3:56 
I think the problem is that you have to initialize your static variables like you have shown:

<br />
// Somewhere in the implementation file<br />
UINT myClass::m_myStatic = NULL;<br />


You can also assign them in member functions with no problems. You don't even need to scope it. But they have to be declared like the above, or else the compiler whines.

Does that make sense? Wink | ;)


Even a broken clock is right twice a day.
GeneralRe: CPP question Pin
alex.barylski28-Oct-02 6:42
alex.barylski28-Oct-02 6:42 
QuestionCWnd::GetDlgItem() Question? Pin
Old Gun27-Oct-02 20:58
Old Gun27-Oct-02 20:58 
AnswerRe: CWnd::GetDlgItem() Question? Pin
Mel Feik27-Oct-02 21:13
Mel Feik27-Oct-02 21:13 
AnswerRe: CWnd::GetDlgItem() Question? Pin
ian mariano27-Oct-02 21:29
ian mariano27-Oct-02 21:29 
GeneralRe: CWnd::GetDlgItem() Question? Pin
Old Gun28-Oct-02 1:16
Old Gun28-Oct-02 1:16 
AnswerRe: CWnd::GetDlgItem() Question? Pin
Chintan28-Oct-02 1:16
Chintan28-Oct-02 1:16 
Generaldialog control focus. Pin
Mel Feik27-Oct-02 19:33
Mel Feik27-Oct-02 19:33 
GeneralChanging CEdit font Pin
alex.barylski27-Oct-02 18:56
alex.barylski27-Oct-02 18:56 
GeneralRe: Changing CEdit font Pin
Dominik Reichl27-Oct-02 22:00
Dominik Reichl27-Oct-02 22:00 
GeneralRe: Changing CEdit font Pin
alex.barylski28-Oct-02 6:46
alex.barylski28-Oct-02 6:46 
GeneralCorrect approach for SysAllocString/SysFreeString Pin
Paul Farry27-Oct-02 17:40
professionalPaul Farry27-Oct-02 17:40 
GeneralRe: Correct approach for SysAllocString/SysFreeString Pin
ian mariano27-Oct-02 21:45
ian mariano27-Oct-02 21:45 
Generaladding an image II Pin
Mel Feik27-Oct-02 17:17
Mel Feik27-Oct-02 17:17 
GeneralRe: adding an image II Pin
Paul M Watt27-Oct-02 18:46
mentorPaul M Watt27-Oct-02 18:46 
GeneralRe: adding an image II Pin
Mel Feik27-Oct-02 18:52
Mel Feik27-Oct-02 18:52 
GeneralHelp with loading files Pin
Steven M Hunt27-Oct-02 16:16
Steven M Hunt27-Oct-02 16:16 
GeneralRe: Help with loading files Pin
Shog927-Oct-02 16:24
sitebuilderShog927-Oct-02 16:24 

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.