Click here to Skip to main content
16,007,932 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: eof error? Pin
Tim Smith31-Jan-03 8:03
Tim Smith31-Jan-03 8:03 
GeneralRe: eof error? Pin
will138331-Jan-03 8:07
will138331-Jan-03 8:07 
Generalusing sream-in of CRichEditCtrl Pin
includeh1031-Jan-03 5:18
includeh1031-Jan-03 5:18 
GeneralThe prompt for toolbar buttons Pin
ns31-Jan-03 5:07
ns31-Jan-03 5:07 
GeneralCStdioFile Pin
Anonymous31-Jan-03 4:49
Anonymous31-Jan-03 4:49 
GeneralRe: CStdioFile Pin
valikac31-Jan-03 5:44
valikac31-Jan-03 5:44 
GeneralRe: CStdioFile Pin
Nitron31-Jan-03 19:08
Nitron31-Jan-03 19:08 
Generalregarding static Pin
act_x31-Jan-03 4:34
act_x31-Jan-03 4:34 
I have a C++ class that allows declaration of static functions , but I needed to declare static variables also . As for example I need to access the current object in a static timer procedure as I needed to do some Initialization .

I did the following in my Class definition
class MyClass {
public :
-
static MyClass *thisPtr;
-
};

I got a Linker error . I am not able to figure out the mistake here . Please help

GeneralRe: regarding static Pin
HENDRIK R31-Jan-03 4:37
HENDRIK R31-Jan-03 4:37 
GeneralRe: regarding static Pin
act_x31-Jan-03 4:41
act_x31-Jan-03 4:41 
GeneralRe: regarding static Pin
HENDRIK R31-Jan-03 4:49
HENDRIK R31-Jan-03 4:49 
GeneralRe: regarding static Pin
act_x31-Jan-03 4:53
act_x31-Jan-03 4:53 
GeneralRe: regarding static Pin
Alvaro Mendez31-Jan-03 5:24
Alvaro Mendez31-Jan-03 5:24 
GeneralRe: regarding static Pin
Joaquín M López Muñoz31-Jan-03 4:39
Joaquín M López Muñoz31-Jan-03 4:39 
GeneralActivating ActiveX Ctrl With out Edit Verb Pin
ajit0731-Jan-03 4:33
ajit0731-Jan-03 4:33 
GeneralMultiple Instances of ActiveX Controls. Pin
ajit0731-Jan-03 4:26
ajit0731-Jan-03 4:26 
GeneralDisappearing classes Pin
Rome Singh31-Jan-03 4:17
Rome Singh31-Jan-03 4:17 
GeneralRe: Disappearing classes Pin
Joan M3-Feb-03 3:49
professionalJoan M3-Feb-03 3:49 
QuestionTextOut() ?? Pin
Nitron31-Jan-03 4:16
Nitron31-Jan-03 4:16 
AnswerRe: TextOut() ?? Pin
HENDRIK R31-Jan-03 4:23
HENDRIK R31-Jan-03 4:23 
GeneralRe: TextOut() ?? Pin
Nitron1-Feb-03 5:06
Nitron1-Feb-03 5:06 
GeneralTo get a pointer to a CDialog.... Pin
ns31-Jan-03 4:14
ns31-Jan-03 4:14 
GeneralRe: To get a pointer to a CDialog.... Pin
Nitron31-Jan-03 4:21
Nitron31-Jan-03 4:21 
GeneralRe: To get a pointer to a CDialog.... Pin
ns31-Jan-03 4:28
ns31-Jan-03 4:28 
GeneralRe: To get a pointer to a CDialog.... Pin
Michael Dunn31-Jan-03 14:49
sitebuilderMichael Dunn31-Jan-03 14: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.