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

C / C++ / MFC

 
GeneralRe: insert text in video Pin
Game-point15-Feb-10 23:45
Game-point15-Feb-10 23:45 
GeneralRe: insert text in video [modified] Pin
Code-o-mat16-Feb-10 0:06
Code-o-mat16-Feb-10 0:06 
GeneralRe: insert text in video Pin
Game-point16-Feb-10 0:16
Game-point16-Feb-10 0:16 
GeneralRe: insert text in video Pin
Code-o-mat16-Feb-10 0:32
Code-o-mat16-Feb-10 0:32 
GeneralRe: insert text in video Pin
Game-point16-Feb-10 0:35
Game-point16-Feb-10 0:35 
QuestionHow can I run an MFC Application as a Console Application Pin
Reitz00015-Feb-10 14:17
Reitz00015-Feb-10 14:17 
AnswerRe: How can I run an MFC Application as a Console Application Pin
Luc Pattyn15-Feb-10 14:23
sitebuilderLuc Pattyn15-Feb-10 14:23 
GeneralRe: How can I run an MFC Application as a Console Application Pin
«_Superman_»15-Feb-10 17:08
professional«_Superman_»15-Feb-10 17:08 
I believe you can use the AllocConsole[^] function to create and attach a console.
If there are no command line parameters, you can do DoModal and if there are command line parameters you could do an AllocConsole.

Here is an excerpt from the documentation -
This function is primarily used by graphical user interface (GUI) application to create a console window. GUI applications are initialized without a console.
«_Superman
I love work. It gives me something to do between weekends.

Microsoft MVP (Visual C++)

AnswerRe: How can I run an MFC Application as a Console Application Pin
Emilio Garavaglia15-Feb-10 22:44
Emilio Garavaglia15-Feb-10 22:44 
QuestionHow to get DLL's path? Pin
John578815-Feb-10 12:24
John578815-Feb-10 12:24 
AnswerRe: How to get DLL's path? Pin
Chris Losinger15-Feb-10 14:13
professionalChris Losinger15-Feb-10 14:13 
QuestionCan someone help with a TRIVIAL database problem Pin
DaveHitchman15-Feb-10 9:32
DaveHitchman15-Feb-10 9:32 
AnswerRe: Can someone help with a TRIVIAL database problem Pin
CPallini15-Feb-10 20:54
mveCPallini15-Feb-10 20:54 
Questionh_addr_list of gethostbyname returns negative values for google.com or other servers like example.com [modified] Pin
Jayapal Chandran15-Feb-10 9:18
Jayapal Chandran15-Feb-10 9:18 
AnswerRe: h_addr_list of gethostbyname returns negative values for google.com or other servers like example.com Pin
Graham Breach15-Feb-10 10:04
Graham Breach15-Feb-10 10:04 
AnswerRe: h_addr_list of gethostbyname returns negative values for google.com or other servers like example.com Pin
Richard MacCutchan15-Feb-10 11:19
mveRichard MacCutchan15-Feb-10 11:19 
AnswerRe: h_addr_list of gethostbyname returns negative values for google.com or other servers like example.com Pin
David Crow16-Feb-10 4:14
David Crow16-Feb-10 4:14 
QuestionRe: h_addr_list of gethostbyname returns negative values for google.com or other servers like example.com Pin
Jayapal Chandran16-Feb-10 7:12
Jayapal Chandran16-Feb-10 7:12 
GeneralRe: h_addr_list of gethostbyname returns negative values for google.com or other servers like example.com Pin
David Crow16-Feb-10 7:28
David Crow16-Feb-10 7:28 
GeneralRe: h_addr_list of gethostbyname returns negative values for google.com or other servers like example.com Pin
Jayapal Chandran16-Feb-10 10:17
Jayapal Chandran16-Feb-10 10:17 
QuestionRe: h_addr_list of gethostbyname returns negative values for google.com or other servers like example.com Pin
David Crow16-Feb-10 10:19
David Crow16-Feb-10 10:19 
AnswerRe: h_addr_list of gethostbyname returns negative values for google.com or other servers like example.com Pin
Jayapal Chandran16-Feb-10 10:44
Jayapal Chandran16-Feb-10 10:44 
GeneralRe: h_addr_list of gethostbyname returns negative values for google.com or other servers like example.com Pin
Jayapal Chandran16-Feb-10 11:43
Jayapal Chandran16-Feb-10 11:43 
QuestionRe: h_addr_list of gethostbyname returns negative values for google.com or other servers like example.com Pin
David Crow17-Feb-10 3:03
David Crow17-Feb-10 3:03 
AnswerRe: h_addr_list of gethostbyname returns negative values for google.com or other servers like example.com Pin
Jayapal Chandran17-Feb-10 5:51
Jayapal Chandran17-Feb-10 5:51 

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.