Click here to Skip to main content
15,886,873 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionconsole to dialog Pin
Member 216100418-Sep-05 16:19
Member 216100418-Sep-05 16:19 
AnswerRe: console to dialog Pin
Christian Graus18-Sep-05 17:26
protectorChristian Graus18-Sep-05 17:26 
GeneralRe: console to dialog Pin
Member 216100418-Sep-05 17:44
Member 216100418-Sep-05 17:44 
GeneralRe: console to dialog Pin
Christian Graus18-Sep-05 17:48
protectorChristian Graus18-Sep-05 17:48 
GeneralRe: console to dialog Pin
Member 216100418-Sep-05 18:09
Member 216100418-Sep-05 18:09 
GeneralRe: console to dialog Pin
Christian Graus18-Sep-05 18:10
protectorChristian Graus18-Sep-05 18:10 
GeneralRe: console to dialog Pin
Member 216100418-Sep-05 20:43
Member 216100418-Sep-05 20:43 
GeneralRe: console to dialog Pin
Bob Stanneveld18-Sep-05 22:22
Bob Stanneveld18-Sep-05 22:22 
Hello,

May I suggest an MFC tutorial or two? Try reading here[^] for a start. If you get stuck, google, MSDN and CodeProject are your friends.

From what I read in your posts, your main problem is that your code is not properly structured. My guess is that you put almost everything in your main. Try and put all your code in classes: CClient and CServer for example. Doing this, enables you to reuse your code in a dialog app for example.

Behind every great black man...
            ... is the police. - Conspiracy brother


Blog[^]
GeneralRe: console to dialog Pin
Christian Graus19-Sep-05 10:55
protectorChristian Graus19-Sep-05 10:55 
QuestionCFileDialog Pin
Achim Klein18-Sep-05 12:14
Achim Klein18-Sep-05 12:14 
AnswerRe: CFileDialog Pin
Achim Klein18-Sep-05 12:28
Achim Klein18-Sep-05 12:28 
AnswerRe: CFileDialog Pin
Achim Klein24-Sep-05 0:27
Achim Klein24-Sep-05 0:27 
QuestionWindows Installer Question Pin
Cpt Rick18-Sep-05 9:11
Cpt Rick18-Sep-05 9:11 
QuestionPress any key to continue Pin
kenexcelon18-Sep-05 6:23
kenexcelon18-Sep-05 6:23 
AnswerRe: Press any key to continue Pin
kenexcelon18-Sep-05 6:23
kenexcelon18-Sep-05 6:23 
AnswerRe: Press any key to continue Pin
Ghasrfakhri18-Sep-05 6:26
Ghasrfakhri18-Sep-05 6:26 
GeneralRe: Press any key to continue Pin
kenexcelon18-Sep-05 6:42
kenexcelon18-Sep-05 6:42 
GeneralRe: Press any key to continue Pin
User 1278218-Sep-05 17:39
User 1278218-Sep-05 17:39 
QuestionHow to locate a file handle for applying DuplicateHandle() ? Pin
Hillel18-Sep-05 5:02
Hillel18-Sep-05 5:02 
QuestionListView Multiple selction problem Pin
ayon11118-Sep-05 4:30
ayon11118-Sep-05 4:30 
QuestionPlease help me about Rational Test Manager Pin
a_kiani18-Sep-05 4:11
a_kiani18-Sep-05 4:11 
QuestionCString prob Pin
benjnp18-Sep-05 3:50
benjnp18-Sep-05 3:50 
AnswerRe: CString prob Pin
Alexander M.,18-Sep-05 4:09
Alexander M.,18-Sep-05 4:09 
GeneralRe: CString prob Pin
benjnp18-Sep-05 16:09
benjnp18-Sep-05 16:09 
AnswerRe: CString prob Pin
ThatsAlok18-Sep-05 18:32
ThatsAlok18-Sep-05 18:32 

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.