Click here to Skip to main content
15,888,968 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem in .exe copy Pin
enhzflep8-Sep-08 22:00
enhzflep8-Sep-08 22:00 
Questionneed help on linking error mssge while compiling C code! Pin
ishwarverma8-Sep-08 16:01
ishwarverma8-Sep-08 16:01 
AnswerRe: need help on linking error mssge while compiling C code! Pin
enhzflep8-Sep-08 17:03
enhzflep8-Sep-08 17:03 
QuestionHow do I incorporate my .cpp program, written in MS Visual C++(QuickWin.exe), into MS Visual C++ Windows App. Project? Pin
JFSabastian8-Sep-08 8:50
JFSabastian8-Sep-08 8:50 
QuestionRe: How do I incorporate my .cpp program, written in MS Visual C++(QuickWin.exe), into MS Visual C++ Windows App. Project? Pin
David Crow8-Sep-08 10:09
David Crow8-Sep-08 10:09 
AnswerRe: How do I incorporate my .cpp program, written in MS Visual C++(QuickWin.exe), into MS Visual C++ Windows App. Project? Pin
JFSabastian8-Sep-08 10:40
JFSabastian8-Sep-08 10:40 
QuestionRe: How do I incorporate my .cpp program, written in MS Visual C++(QuickWin.exe), into MS Visual C++ Windows App. Project? Pin
David Crow8-Sep-08 11:00
David Crow8-Sep-08 11:00 
QuestionMixing MFC framework with console application? Pin
arnoldoh8-Sep-08 8:34
arnoldoh8-Sep-08 8:34 
Hi,

I am trying to create a console program that uses MFC framework. More specifically.

1. The user would input commands/options/etc. into the console. Essentially a shell.

2. The shell will parse the command and send the information to a dll I wrote that will format the command and send to an external hardware.

3. The hardware does whatever and sends result/update, which is received by another thread and the message is formatted and sent up to a pipe.

4. I first wanted to use another console screen to display the message from the pipe, but I found out an application can't have more than 1 console screen. So I decided to use MFC to create a window to simply display the message. I have a class derived from CWinThread to do this, but I am not sure how to tie in the frame/document/view without using the document template. All the MFC documentation/references all state that I need to use document template, but since AddDocTemplate is member of CWinApp not CWinThread I am not certain how I can associate frame/view/document.

I am using VC++ 6.0 so I guess that means I am using MFC 6.0

Is what I am trying to do not possible? and should I try a different route like creating a separate application to display the messages on the pipe?

Thanks for any help.
Questionvisual c++ executable file Pin
FrankMookie8-Sep-08 6:29
FrankMookie8-Sep-08 6:29 
AnswerRe: visual c++ executable file Pin
David Crow8-Sep-08 6:45
David Crow8-Sep-08 6:45 
GeneralRe: visual c++ executable file Pin
FrankMookie8-Sep-08 6:56
FrankMookie8-Sep-08 6:56 
Questionwho can give me a example in C++ using Factory Pattern Pin
york5288-Sep-08 6:06
york5288-Sep-08 6:06 
AnswerRe: who can give me a example in C++ using Factory Pattern Pin
Christian Graus8-Sep-08 6:26
protectorChristian Graus8-Sep-08 6:26 
GeneralRe: who can give me a example in C++ using Factory Pattern Pin
york5289-Sep-08 6:32
york5289-Sep-08 6:32 
AnswerRe: who can give me a example in C++ using Factory Pattern Pin
laksh22048-Sep-08 23:39
laksh22048-Sep-08 23:39 
GeneralRe: who can give me a example in C++ using Factory Pattern Pin
york5289-Sep-08 5:58
york5289-Sep-08 5:58 
QuestionParseCommandLine question Pin
sashoalm8-Sep-08 4:17
sashoalm8-Sep-08 4:17 
QuestionRe: ParseCommandLine question Pin
David Crow8-Sep-08 5:06
David Crow8-Sep-08 5:06 
AnswerRe: ParseCommandLine question Pin
sashoalm8-Sep-08 5:19
sashoalm8-Sep-08 5:19 
QuestionRe: ParseCommandLine question Pin
David Crow8-Sep-08 5:46
David Crow8-Sep-08 5:46 
AnswerRe: ParseCommandLine question Pin
sashoalm8-Sep-08 6:10
sashoalm8-Sep-08 6:10 
GeneralRe: ParseCommandLine question Pin
Mark Salsbery8-Sep-08 6:51
Mark Salsbery8-Sep-08 6:51 
AnswerRe: ParseCommandLine question Pin
sashoalm8-Sep-08 6:32
sashoalm8-Sep-08 6:32 
QuestionRe: ParseCommandLine question Pin
David Crow8-Sep-08 6:43
David Crow8-Sep-08 6:43 
AnswerRe: ParseCommandLine question Pin
sashoalm8-Sep-08 6:58
sashoalm8-Sep-08 6:58 

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.