Click here to Skip to main content
15,915,094 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralLock xadd Pin
José Luis Sogorb7-Nov-02 6:57
José Luis Sogorb7-Nov-02 6:57 
GeneralRe: Lock xadd Pin
Daniel Turini7-Nov-02 7:07
Daniel Turini7-Nov-02 7:07 
QuestionCRichEditCtrl printng... What's wrong with my code? Pin
Nasty_p7-Nov-02 5:04
Nasty_p7-Nov-02 5:04 
AnswerRe: CRichEditCtrl printng... What's wrong with my code? Pin
dabs7-Nov-02 5:38
dabs7-Nov-02 5:38 
GeneralRe: CRichEditCtrl printng... What's wrong with my code? Pin
Nasty_p7-Nov-02 5:44
Nasty_p7-Nov-02 5:44 
GeneralRe: CRichEditCtrl printng... What's wrong with my code? Pin
Nasty_p12-Nov-02 14:20
Nasty_p12-Nov-02 14:20 
GeneralNeed example of forward declare Pin
bhutt7-Nov-02 5:09
bhutt7-Nov-02 5:09 
GeneralRe: Need example of forward declare Pin
Marc Clifton7-Nov-02 5:42
mvaMarc Clifton7-Nov-02 5:42 
That has nothing to do with forward declaration. If it compiles, then the compiler is properly resolving the forward declarations. It sounds more like you forgot to create an instance of the object--you're accessing it before it's instantiated:

wrong:

Foo* foo;
foo->data=1;

right:

Foo* foo=new Foo();
foo->data=1;

If that doesn't help, can you give an example of your class and your usage?

Marc

Help! I'm an AI running around in someone's f*cked up universe simulator.
GeneralRe: Need example of forward declare Pin
Anonymous8-Nov-02 2:24
Anonymous8-Nov-02 2:24 
GeneralRe: Need example of forward declare Pin
dabs7-Nov-02 5:57
dabs7-Nov-02 5:57 
GeneralStyle fro CHeaderCtrl Pin
Telefonen7-Nov-02 5:01
Telefonen7-Nov-02 5:01 
GeneralRe: Style fro CHeaderCtrl Pin
Daniel Ferguson7-Nov-02 6:47
Daniel Ferguson7-Nov-02 6:47 
GeneralResizing the desktop area Pin
MiamiCoder7-Nov-02 4:46
MiamiCoder7-Nov-02 4:46 
GeneralRe: Resizing the desktop area Pin
Chris Richardson7-Nov-02 7:08
Chris Richardson7-Nov-02 7:08 
GeneralRe: Resizing the desktop area Pin
Anonymous7-Nov-02 10:20
Anonymous7-Nov-02 10:20 
Generaldll Pin
7-Nov-02 3:59
suss7-Nov-02 3:59 
GeneralRe: dll Pin
Anonymous7-Nov-02 4:38
Anonymous7-Nov-02 4:38 
GeneralRe: dll Pin
Stephane Rodriguez.7-Nov-02 4:57
Stephane Rodriguez.7-Nov-02 4:57 
Generalget default printer name Pin
vgkotha7-Nov-02 3:25
vgkotha7-Nov-02 3:25 
GeneralRe: get default printer name Pin
Navin7-Nov-02 3:51
Navin7-Nov-02 3:51 
GeneralRe: get default printer name Pin
Chad Koehler7-Nov-02 5:32
Chad Koehler7-Nov-02 5:32 
QuestionHow can I avoid a window get the focus ? Pin
Cris7-Nov-02 2:43
Cris7-Nov-02 2:43 
AnswerRe: How can I avoid a window get the focus ? Pin
includeh107-Nov-02 2:53
includeh107-Nov-02 2:53 
GeneralRe: How can I avoid a window get the focus ? Pin
Cris7-Nov-02 7:30
Cris7-Nov-02 7:30 
GeneralRe: How can I avoid a window get the focus ? Pin
includeh107-Nov-02 8:30
includeh107-Nov-02 8:30 

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.