Click here to Skip to main content
15,902,635 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Why won't CStatic paint? Pin
Stan the man15-Jun-03 15:25
Stan the man15-Jun-03 15:25 
GeneralRe: Why won't CStatic paint? Pin
murdoc515016-Jun-03 4:15
murdoc515016-Jun-03 4:15 
GeneralRe: Why won't CStatic paint? Pin
Stan the man16-Jun-03 5:20
Stan the man16-Jun-03 5:20 
GeneralAbout an "unexpected #else " probelm Pin
FlyingDancer14-Jun-03 21:22
FlyingDancer14-Jun-03 21:22 
GeneralRe: About an "unexpected #else " probelm Pin
Gary R. Wheeler15-Jun-03 2:49
Gary R. Wheeler15-Jun-03 2:49 
GeneralRe: About an "unexpected #else " probelm Pin
FlyingDancer15-Jun-03 3:21
FlyingDancer15-Jun-03 3:21 
QuestionDLL ? Pin
Stan the man14-Jun-03 20:20
Stan the man14-Jun-03 20:20 
AnswerRe: DLL ? Pin
Roger Allen16-Jun-03 1:54
Roger Allen16-Jun-03 1:54 
If I understand you correctly, you need to make use of forward class declarations:

// .h file

class CDLLClass;

class CYourClass
{
// ...
CDLLClass *m_pDLLClass; // can only be a pointer otherwise compiler needs to know more about it here
}

// .cpp file
#include "YourClass.h"
#include "DLLClass.h"

// ...



Roger Allen
Sonork 100.10016

Were you different as a kid? Did you ever say "Ooohhh, shiny red" even once? - Paul Watson 11-February-2003
GeneralRe: DLL ? Pin
Stan the man16-Jun-03 5:24
Stan the man16-Jun-03 5:24 
GeneralQuestion about run at start up Pin
Mazdak14-Jun-03 19:38
Mazdak14-Jun-03 19:38 
GeneralRe: Question about run at start up Pin
valikac14-Jun-03 19:52
valikac14-Jun-03 19:52 
GeneralRe: Question about run at start up Pin
Mazdak14-Jun-03 20:01
Mazdak14-Jun-03 20:01 
GeneralRe: Question about run at start up Pin
Nicolas Bonamy14-Jun-03 20:30
Nicolas Bonamy14-Jun-03 20:30 
GeneralRe: Question about run at start up Pin
Mazdak14-Jun-03 20:54
Mazdak14-Jun-03 20:54 
GeneralRe: Question about run at start up Pin
Ryan Binns14-Jun-03 22:26
Ryan Binns14-Jun-03 22:26 
GeneralRe: Question about run at start up Pin
Mazdak14-Jun-03 22:56
Mazdak14-Jun-03 22:56 
GeneralRe: Question about run at start up Pin
Ryan Binns15-Jun-03 2:59
Ryan Binns15-Jun-03 2:59 
GeneralRe: Question about run at start up Pin
Anonymous15-Jun-03 0:33
Anonymous15-Jun-03 0:33 
GeneralRe: Question about run at start up Pin
Ryan Binns15-Jun-03 3:01
Ryan Binns15-Jun-03 3:01 
GeneralRe: Question about run at start up Pin
Mazdak15-Jun-03 7:20
Mazdak15-Jun-03 7:20 
GeneralRe: Question about run at start up Pin
Ryan Binns15-Jun-03 14:52
Ryan Binns15-Jun-03 14:52 
GeneralRe: Question about run at start up Pin
Mazdak15-Jun-03 20:56
Mazdak15-Jun-03 20:56 
Questionhow to toggle desktop Pin
jerryage14-Jun-03 15:38
jerryage14-Jun-03 15:38 
GeneralCGridCtrl Add & Delete UI Pin
Sam Hobbs14-Jun-03 14:29
Sam Hobbs14-Jun-03 14:29 
QuestionDeclaring Class function error? Pin
Aidman14-Jun-03 13:37
Aidman14-Jun-03 13:37 

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.