Click here to Skip to main content
15,925,528 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: vector: Container problem Pin
Marvin M.27-Sep-05 16:04
Marvin M.27-Sep-05 16:04 
GeneralRe: vector: Container problem Pin
shade44427-Sep-05 15:16
shade44427-Sep-05 15:16 
GeneralRe: vector: Container problem Pin
Marvin M.27-Sep-05 15:26
Marvin M.27-Sep-05 15:26 
AnswerRe: vector: Container problem Pin
shade44427-Sep-05 15:36
shade44427-Sep-05 15:36 
Questioncode for view video in c++ Pin
Lioz Cohn27-Sep-05 9:03
Lioz Cohn27-Sep-05 9:03 
AnswerRe: code for view video in c++ Pin
Christian Graus27-Sep-05 9:22
protectorChristian Graus27-Sep-05 9:22 
Questionsource code for view video in c++ Pin
Lioz Cohn27-Sep-05 9:01
Lioz Cohn27-Sep-05 9:01 
QuestionLaunching GUI or Console Pin
Prabhu97727-Sep-05 8:02
Prabhu97727-Sep-05 8:02 
Hi,

I have a Single Document MFC application. I have a requirement to give command line support to this application. This means based on the command line arguments provided to the existing MFC application, it should either come up in GUI mode or in console mode.

For e.g:
1. Launching the application like: "Test.exe /mode: GUI" from command prompt should launch the existing GUI application.
2. Launching the application like: "Test.exe /mode: CLI" should launch a console window. I should be able to output data to this window say using "cout" and input data from the console window using "cin".

Is this possible? Can someone please help me?

Thanks in advance!

Bye!
AnswerRe: Launching GUI or Console Pin
David Crow27-Sep-05 8:10
David Crow27-Sep-05 8:10 
GeneralRe: Launching GUI or Console Pin
Prabhu97728-Sep-05 7:40
Prabhu97728-Sep-05 7:40 
GeneralRe: Launching GUI or Console Pin
Prabhu97728-Sep-05 7:40
Prabhu97728-Sep-05 7:40 
AnswerRe: Launching GUI or Console Pin
oustar27-Sep-05 21:28
oustar27-Sep-05 21:28 
AnswerRe: Launching GUI or Console Pin
AHawk27-Sep-05 22:21
AHawk27-Sep-05 22:21 
QuestionOnNcPaint() to draw Borders Pin
Lea Hayes27-Sep-05 7:12
Lea Hayes27-Sep-05 7:12 
AnswerRe: OnNcPaint() to draw Borders Pin
Shog927-Sep-05 7:45
sitebuilderShog927-Sep-05 7:45 
GeneralRe: OnNcPaint() to draw Borders Pin
Lea Hayes27-Sep-05 9:11
Lea Hayes27-Sep-05 9:11 
QuestionIPControl Adress " CIPAddressCtrl " Pin
REU27-Sep-05 6:58
REU27-Sep-05 6:58 
AnswerRe: IPControl Adress " CIPAddressCtrl " Pin
David Crow27-Sep-05 8:14
David Crow27-Sep-05 8:14 
QuestionCOM question Pin
includeh1027-Sep-05 6:53
includeh1027-Sep-05 6:53 
AnswerRe: COM question Pin
Calc2027-Sep-05 20:15
Calc2027-Sep-05 20:15 
Questioncreate a download software Pin
includeh1027-Sep-05 6:45
includeh1027-Sep-05 6:45 
Questionactive-x control Pin
tejaswi-teja27-Sep-05 5:51
tejaswi-teja27-Sep-05 5:51 
QuestionHow to get the HTTP visit? Pin
rushing27-Sep-05 5:14
rushing27-Sep-05 5:14 
AnswerRe: How to get the HTTP visit? Pin
mikanu27-Sep-05 5:31
mikanu27-Sep-05 5:31 
QuestionUsing a VC7.1 dll in VC6? Pin
John M. Drescher27-Sep-05 4:17
John M. Drescher27-Sep-05 4:17 

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.