Click here to Skip to main content
16,006,001 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: What's wrong.... Pin
Eytukan11-Jan-07 2:34
Eytukan11-Jan-07 2:34 
GeneralRe: What's wrong.... Pin
John R. Shaw11-Jan-07 14:54
John R. Shaw11-Jan-07 14:54 
GeneralRe: What's wrong.... Pin
Eytukan11-Jan-07 19:36
Eytukan11-Jan-07 19:36 
GeneralRe: What's wrong.... Pin
Hamid_RT11-Jan-07 20:57
Hamid_RT11-Jan-07 20:57 
GeneralRe: What's wrong.... Pin
Astricks12-Jan-07 0:04
Astricks12-Jan-07 0:04 
AnswerRe: What's wrong.... Pin
neilsolent11-Jan-07 2:12
neilsolent11-Jan-07 2:12 
QuestionSocket Programming Pin
SrikanthVinayak Ram11-Jan-07 1:48
SrikanthVinayak Ram11-Jan-07 1:48 
AnswerRe: Socket Programming Pin
Mark Salsbery11-Jan-07 5:13
Mark Salsbery11-Jan-07 5:13 
The problem is using MFC in a console application. By default, the MFC socket classes need a
window to process socket events. You could get it to work with the proper MFC initialization in a console app but I'm not sure it's worth the trouble unless you're using other MFC classes.

You could try using direct calls to WinSock instead of using the MFC classes.

If you must use MFC then can you post the code used to initialize MFC?

Mark

AnswerRe: Socket Programming Pin
David Leyva11-Jan-07 10:31
David Leyva11-Jan-07 10:31 
QuestionRe: Socket Programming Pin
SrikanthVinayak Ram11-Jan-07 18:40
SrikanthVinayak Ram11-Jan-07 18:40 
AnswerRe: Socket Programming Pin
Mark Salsbery12-Jan-07 6:37
Mark Salsbery12-Jan-07 6:37 
AnswerRe: Socket Programming Pin
Mark Salsbery12-Jan-07 6:39
Mark Salsbery12-Jan-07 6:39 
QuestionCDateTimeCtrl ideal size Pin
Watz11-Jan-07 1:02
Watz11-Jan-07 1:02 
QuestionSimplest way to display data in table form Pin
ldsdbomber11-Jan-07 0:33
ldsdbomber11-Jan-07 0:33 
AnswerRe: Simplest way to display data in table form Pin
Rage11-Jan-07 1:17
professionalRage11-Jan-07 1:17 
GeneralRe: Simplest way to display data in table form Pin
ldsdbomber11-Jan-07 1:38
ldsdbomber11-Jan-07 1:38 
QuestionHow to add rich edit control ?? Pin
Suresh H11-Jan-07 0:10
Suresh H11-Jan-07 0:10 
AnswerRe: How to add rich edit control ?? Pin
prasad_som11-Jan-07 0:25
prasad_som11-Jan-07 0:25 
GeneralRe: How to add rich edit control ?? Pin
Suresh H11-Jan-07 0:45
Suresh H11-Jan-07 0:45 
AnswerRe: How to add rich edit control ?? Pin
prasad_som11-Jan-07 1:08
prasad_som11-Jan-07 1:08 
GeneralRe: How to add rich edit control ?? Pin
Suresh H11-Jan-07 1:22
Suresh H11-Jan-07 1:22 
AnswerRe: How to add rich edit control ?? Pin
prasad_som11-Jan-07 1:26
prasad_som11-Jan-07 1:26 
GeneralRe: How to add rich edit control ?? Pin
Suresh H11-Jan-07 1:43
Suresh H11-Jan-07 1:43 
AnswerRe: How to add rich edit control ?? Pin
prasad_som11-Jan-07 1:55
prasad_som11-Jan-07 1:55 
GeneralRe: How to add rich edit control ?? Pin
Suresh H11-Jan-07 2:02
Suresh H11-Jan-07 2: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.