Click here to Skip to main content
15,890,825 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to detect completion of Socket recv() function. Pin
Robert Palma Jr.22-Aug-06 6:28
Robert Palma Jr.22-Aug-06 6:28 
GeneralRe: How to detect completion of Socket recv() function. Pin
Robert Palma Jr.22-Aug-06 9:56
Robert Palma Jr.22-Aug-06 9:56 
GeneralRe: How to detect completion of Socket recv() function. Pin
zzattack22-Aug-06 10:14
zzattack22-Aug-06 10:14 
AnswerRe: How to detect completion of Socket recv() function. Pin
Ajesh.Sreevalsa21-Aug-06 18:44
Ajesh.Sreevalsa21-Aug-06 18:44 
GeneralRe: How to detect completion of Socket recv() function. Pin
Robert Palma Jr.22-Aug-06 6:26
Robert Palma Jr.22-Aug-06 6:26 
QuestionWhere to execute constructor? Pin
Oliver12321-Aug-06 9:37
Oliver12321-Aug-06 9:37 
AnswerRe: Where to execute constructor? Pin
Wes Aday21-Aug-06 9:47
professionalWes Aday21-Aug-06 9:47 
GeneralRe: Where to execute constructor? Pin
Oliver12321-Aug-06 11:19
Oliver12321-Aug-06 11:19 
I created an absolutely barebones dialog project called Store to figure this out.

VC++ created two classes: CStoreApp and CStoreDlg.
I created an additional class Orders based on generic CWnd. I added no code. It compiled and executed OK.

My understanding is that I should use the OnInitDialog function of class CStoreDlg to create an instance of class Orders. Is that correct?

ATTEMPT #1:
ACTION:Added the following to OnInitDialog: Orders buy;
RESULT: Errors- 1)Orders undeclared identifier, 2) missing ";" before identifier 'buy', 3)'buy'undeclared identifier

ATTEMPT #2:
Added the following to OnInitDialog: Orders::orders buy;
RESULT: Errors- 1) Orders is not aclass or namespace, 2) Orders undeclared identifier, 3) Missing ';' before identifier 'buy' 4) 'buy' undeclared identifier.

I am obviously missing something critical.
GeneralRe: Where to execute constructor? Pin
Wes Aday21-Aug-06 11:24
professionalWes Aday21-Aug-06 11:24 
GeneralRe: Where to execute constructor? Pin
Oliver12321-Aug-06 12:00
Oliver12321-Aug-06 12:00 
GeneralRe: Where to execute constructor? Pin
Wes Aday21-Aug-06 12:03
professionalWes Aday21-Aug-06 12:03 
GeneralRe: Where to execute constructor? Pin
Rudolf Jan22-Aug-06 0:19
Rudolf Jan22-Aug-06 0:19 
GeneralRe: Where to execute constructor? Pin
Oliver12322-Aug-06 11:44
Oliver12322-Aug-06 11:44 
GeneralRe: Where to execute constructor? Pin
Oliver12322-Aug-06 16:28
Oliver12322-Aug-06 16:28 
QuestionDesign Patterns : Command Pattern? Pin
brodies21-Aug-06 9:15
brodies21-Aug-06 9:15 
AnswerRe: Design Patterns : Command Pattern? Pin
Neville Franks21-Aug-06 11:24
Neville Franks21-Aug-06 11:24 
QuestionWord automation question with NO MFC Pin
great_tommy21-Aug-06 8:42
great_tommy21-Aug-06 8:42 
QuestionRun time library Pin
Waldermort21-Aug-06 7:33
Waldermort21-Aug-06 7:33 
AnswerRe: Run time library Pin
Zac Howland21-Aug-06 8:27
Zac Howland21-Aug-06 8:27 
GeneralRe: Run time library Pin
Waldermort21-Aug-06 8:52
Waldermort21-Aug-06 8:52 
AnswerRe: Run time library Pin
Chris Losinger21-Aug-06 8:32
professionalChris Losinger21-Aug-06 8:32 
QuestionProblem displaying drag image using IDropTargetHelper [modified] Pin
Justin Tay21-Aug-06 7:02
Justin Tay21-Aug-06 7:02 
QuestionCEdit : visually displaying the space character ? Pin
Maximilien21-Aug-06 5:54
Maximilien21-Aug-06 5:54 
AnswerRe: CEdit : visually displaying the space character ? [modified] Pin
ZaebanB21-Aug-06 6:25
ZaebanB21-Aug-06 6:25 
AnswerRe: CEdit : visually displaying the space character ? Pin
PJ Arends21-Aug-06 6:52
professionalPJ Arends21-Aug-06 6:52 

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.