Click here to Skip to main content
15,920,896 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionVaild pause? Pin
---Mark---12-Feb-05 7:22
---Mark---12-Feb-05 7:22 
AnswerRe: Vaild pause? Pin
Ravi Bhavnani12-Feb-05 8:59
professionalRavi Bhavnani12-Feb-05 8:59 
GeneralRe: Vaild pause? Pin
---Mark---14-Feb-05 7:09
---Mark---14-Feb-05 7:09 
GeneralRe: Vaild pause? Pin
Ravi Bhavnani14-Feb-05 7:17
professionalRavi Bhavnani14-Feb-05 7:17 
GeneralRe: Vaild pause? Pin
---Mark---14-Feb-05 14:28
---Mark---14-Feb-05 14:28 
GeneralRe: Vaild pause? Pin
Ravi Bhavnani15-Feb-05 2:19
professionalRavi Bhavnani15-Feb-05 2:19 
AnswerRe: Vaild pause? Pin
Jörgen Sigvardsson12-Feb-05 10:40
Jörgen Sigvardsson12-Feb-05 10:40 
QuestionHow to declare global variables in MFC dialog application? Pin
tttyip12-Feb-05 5:37
tttyip12-Feb-05 5:37 
Where should I write the declaration of gobal variables and functions in MFC?
I found errors in my program:
In my MFC dialog application, I have 2 classes, class A and class B. I write the global variables in the cpp file of class A, i.e. A.cpp, and the class view has shown them as global. However, I cannot access them in class B. Why is this so?

If I want to declare variables and functions that can be used by all classes, where should I write the declaration?

Thanks
AnswerRe: How to declare global variables in MFC dialog application? Pin
Mohammad A Gdeisat12-Feb-05 5:58
Mohammad A Gdeisat12-Feb-05 5:58 
AnswerRe: How to declare global variables in MFC dialog application? Pin
jerry_21512-Feb-05 7:22
jerry_21512-Feb-05 7:22 
AnswerRe: How to declare global variables in MFC dialog application? Pin
S. Senthil Kumar12-Feb-05 8:43
S. Senthil Kumar12-Feb-05 8:43 
GeneralMSHTML parsing error Pin
luda12-Feb-05 2:51
luda12-Feb-05 2:51 
GeneralRe: MSHTML parsing error Pin
ThatsAlok12-Feb-05 6:49
ThatsAlok12-Feb-05 6:49 
GeneralRe: MSHTML parsing error Pin
luda12-Feb-05 7:01
luda12-Feb-05 7:01 
GeneralRe: MSHTML parsing error Pin
ThatsAlok12-Feb-05 15:29
ThatsAlok12-Feb-05 15:29 
GeneralProblem trying to Advise Pin
djavanci12-Feb-05 2:18
djavanci12-Feb-05 2:18 
GeneralArray question Pin
jw8112-Feb-05 2:04
jw8112-Feb-05 2:04 
GeneralRe: Array question Pin
ThatsAlok12-Feb-05 2:15
ThatsAlok12-Feb-05 2:15 
GeneralRe: Array question Pin
Emilio Garavaglia12-Feb-05 5:18
Emilio Garavaglia12-Feb-05 5:18 
GeneralRe: Array question Pin
ThatsAlok12-Feb-05 6:44
ThatsAlok12-Feb-05 6:44 
GeneralRe: Array question Pin
jw8112-Feb-05 15:37
jw8112-Feb-05 15:37 
GeneralRe: Array question Pin
Hamed Musavi12-Feb-05 11:26
Hamed Musavi12-Feb-05 11:26 
GeneralRe: Array question Pin
tttyip13-Feb-05 3:53
tttyip13-Feb-05 3:53 
Generalserial port programming Pin
Oriented12-Feb-05 0:29
Oriented12-Feb-05 0:29 
GeneralRe: serial port programming Pin
ThatsAlok12-Feb-05 0:53
ThatsAlok12-Feb-05 0:53 

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.