Click here to Skip to main content
15,893,487 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: SDK for MP3 ? Pin
Michael Dunn28-Nov-04 20:37
sitebuilderMichael Dunn28-Nov-04 20:37 
Generalcreating Menubar in dialog based prj. Pin
ashsri28-Nov-04 6:00
ashsri28-Nov-04 6:00 
GeneralRe: creating Menubar in dialog based prj. Pin
Nick Nougat29-Nov-04 5:30
Nick Nougat29-Nov-04 5:30 
GeneralHeader Pin
BRIMID28-Nov-04 4:35
BRIMID28-Nov-04 4:35 
GeneralRe: Header Pin
Member 153369528-Nov-04 5:53
Member 153369528-Nov-04 5:53 
GeneralRe: Header Pin
BRIMID28-Nov-04 6:05
BRIMID28-Nov-04 6:05 
GeneralRe: Header Pin
PJ Arends28-Nov-04 7:19
professionalPJ Arends28-Nov-04 7:19 
Generalglobal variables Pin
Tomate6628-Nov-04 4:21
Tomate6628-Nov-04 4:21 
Hi!

In my app I've declared 2 dialogs via 2 classes. In dialog 1 I use a variable, that works well (of course..). Now I have to use the same var in dialog 2 (class 2) -> that won't work:
error C2597: illegal reference to data member
'CPIADlg::m_workdays' in a static member function

Has anybody the solution? Thanks, Thomas

PS: declaring as static ->
PIADlg.obj : error LNK2001: unresolved external symbol "public: static int CPIADlg::m_workdays" (?m_workdays@CPIADlg@@2HA)
Settings.obj : error LNK2001: unresolved external symbol "public: static int CPIADlg::m_workdays" (?m_workdays@CPIADlg@@2HA)

hmmm???
GeneralOpen files Pin
vilmer28-Nov-04 2:39
vilmer28-Nov-04 2:39 
GeneralRe: Open files Pin
PJ Arends28-Nov-04 7:31
professionalPJ Arends28-Nov-04 7:31 
GeneralVideo Compression?! Pin
sabzee27-Nov-04 21:43
sabzee27-Nov-04 21:43 
GeneralUCS2 to String ... Pin
rasha200327-Nov-04 21:37
rasha200327-Nov-04 21:37 
GeneralRe: UCS2 to String ... Pin
rasha200330-Nov-04 4:06
rasha200330-Nov-04 4:06 
GeneralQuestion about CEdit and CSpinButtonCtrl Pin
Uwe Keim27-Nov-04 20:53
sitebuilderUwe Keim27-Nov-04 20:53 
GeneralRe: Question about CEdit and CSpinButtonCtrl Pin
John R. Shaw28-Nov-04 9:21
John R. Shaw28-Nov-04 9:21 
GeneralRe: Question about CEdit and CSpinButtonCtrl Pin
Uwe Keim28-Nov-04 15:19
sitebuilderUwe Keim28-Nov-04 15:19 
GeneralRe: Question about CEdit and CSpinButtonCtrl Pin
Ryan Binns28-Nov-04 17:28
Ryan Binns28-Nov-04 17:28 
GeneralRe: Question about CEdit and CSpinButtonCtrl Pin
Michael Dunn28-Nov-04 20:43
sitebuilderMichael Dunn28-Nov-04 20:43 
GeneralRe: Question about CEdit and CSpinButtonCtrl Pin
Uwe Keim29-Nov-04 4:10
sitebuilderUwe Keim29-Nov-04 4:10 
GeneralRe: Question about CEdit and CSpinButtonCtrl Pin
Uwe Keim29-Dec-04 18:58
sitebuilderUwe Keim29-Dec-04 18:58 
GeneralMFC help for a beginner Pin
Member 153369527-Nov-04 15:45
Member 153369527-Nov-04 15:45 
GeneralRe: MFC help for a beginner Pin
John R. Shaw27-Nov-04 18:22
John R. Shaw27-Nov-04 18:22 
GeneralRe: MFC help for a beginner Pin
rasha200327-Nov-04 21:41
rasha200327-Nov-04 21:41 
GeneralRe: MFC help for a beginner Pin
Member 153369528-Nov-04 4:08
Member 153369528-Nov-04 4:08 
GeneralRe: MFC help for a beginner Pin
bitpusher28-Nov-04 7:46
bitpusher28-Nov-04 7:46 

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.