Click here to Skip to main content
15,906,766 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralHTML on CPropertySheet Pin
Jack_pt15-Nov-04 15:22
Jack_pt15-Nov-04 15:22 
GeneralC++ Help Pin
glowskull0315-Nov-04 14:14
glowskull0315-Nov-04 14:14 
GeneralRe: C++ Help Pin
DaFrawg15-Nov-04 20:58
DaFrawg15-Nov-04 20:58 
GeneralRe: C++ Help Pin
dharani16-Nov-04 23:42
dharani16-Nov-04 23:42 
GeneralRe: C++ Help Pin
DaFrawg18-Nov-04 3:33
DaFrawg18-Nov-04 3:33 
GeneralRe: C++ Help Pin
namaskaaram15-Nov-04 22:16
namaskaaram15-Nov-04 22:16 
GeneralRe: C++ Help Pin
Henry miller16-Nov-04 2:26
Henry miller16-Nov-04 2:26 
GeneralCommand line error D2022 Pin
bneacetp15-Nov-04 13:07
bneacetp15-Nov-04 13:07 
GeneralRIFF and LIST Chunks Pin
Anonymous15-Nov-04 12:45
Anonymous15-Nov-04 12:45 
GeneralShort Jumps in Inline Assembly Pin
Xzyx987X15-Nov-04 11:41
Xzyx987X15-Nov-04 11:41 
QuestionHow do I... Pin
KORCARI15-Nov-04 10:38
KORCARI15-Nov-04 10:38 
AnswerRe: How do I... Pin
David Crow15-Nov-04 10:55
David Crow15-Nov-04 10:55 
GeneralRe: How do I... Pin
Christian Graus15-Nov-04 13:36
protectorChristian Graus15-Nov-04 13:36 
GeneralRe: How do I... Pin
DaFrawg15-Nov-04 21:03
DaFrawg15-Nov-04 21:03 
GeneralRe: How do I... Pin
Christian Graus16-Nov-04 0:29
protectorChristian Graus16-Nov-04 0:29 
GeneralRe: How do I... Pin
DaFrawg18-Nov-04 3:55
DaFrawg18-Nov-04 3:55 
GeneralRe: How do I... Pin
Christian Graus18-Nov-04 10:15
protectorChristian Graus18-Nov-04 10:15 
GeneralRe: How do I... Pin
David Crow16-Nov-04 2:36
David Crow16-Nov-04 2:36 
GeneralRe: How do I... Pin
Christian Graus16-Nov-04 8:14
protectorChristian Graus16-Nov-04 8:14 
GeneralCalling a member function Pin
Howard789015-Nov-04 9:15
Howard789015-Nov-04 9:15 
GeneralRe: Calling a member function Pin
Christian Graus15-Nov-04 9:34
protectorChristian Graus15-Nov-04 9:34 
GeneralRe: Calling a member function Pin
Budric B.15-Nov-04 9:37
Budric B.15-Nov-04 9:37 
You have defined PutCh() as a class member function and you're calling it from a function not related to that class.

PutCh() only makes sense in context of some object that you created from your class. You can't just call PutCh() from anywhere because what will the variable m_Edit1 represent? You may have 10 objects each with its own copy of m_Edit1, which one will PutCh() modify?

So you need to specify the object name when you're calling that function
MyObject.PutCh();

GeneralRe: Calling a member function Pin
John M. Drescher15-Nov-04 9:39
John M. Drescher15-Nov-04 9:39 
GeneralRe: Calling a member function Pin
Howard789015-Nov-04 15:12
Howard789015-Nov-04 15:12 
GeneralRe: Calling a member function Pin
John M. Drescher16-Nov-04 6:02
John M. Drescher16-Nov-04 6:02 

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.