Click here to Skip to main content
15,919,931 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to Upload (.doc) file in MySQL Database Pin
David Crow31-May-07 5:03
David Crow31-May-07 5:03 
Generalhiding a console app Pin
Rage31-May-07 4:04
professionalRage31-May-07 4:04 
GeneralRe: hiding a console app Pin
toxcct31-May-07 4:12
toxcct31-May-07 4:12 
GeneralRe: hiding a console app Pin
Rage31-May-07 4:22
professionalRage31-May-07 4:22 
GeneralRe: hiding a console app Pin
toxcct31-May-07 4:28
toxcct31-May-07 4:28 
GeneralRe: hiding a console app Pin
Rage31-May-07 5:22
professionalRage31-May-07 5:22 
GeneralRe: hiding a console app Pin
toxcct31-May-07 5:24
toxcct31-May-07 5:24 
GeneralRe: hiding a console app Pin
Matthew Faithfull31-May-07 5:04
Matthew Faithfull31-May-07 5:04 
If you have control of the Console App end you could make it a fake Console App i.e. make it a Windows App but don't create any Windows just use AllocConsole if and when you do want a Console to appear.
The difference between the two is just a setting in the PE Header stuff on the front of your executable which is picked up by the C Runtime to determine it's mode setting. If it determines it's bootstrapping a Console App it allocates a Console otherwise it doesn't. There are other differences, in IO for example, but they all boil down to different paths in the startup code of the CRT. There's nothing, for example, to stop a Console App creating Windows and doing GUI stuff. In fact many DirectX games are done this way. They start out running as Console Apps and bootstrap DirectX from there to take over the entire screen.;) Equally A Windows app may have no actual Windows and could even have a Console if it decides to create one. I do this lot for scratch/testing type apps.

Nothing is exactly what it seems but everything with seems can be unpicked.

GeneralRe: hiding a console app Pin
Rage31-May-07 5:22
professionalRage31-May-07 5:22 
GeneralRe: hiding a console app Pin
Matthew Faithfull31-May-07 5:49
Matthew Faithfull31-May-07 5:49 
GeneralRe: hiding a console app Pin
tom groezer31-May-07 5:24
tom groezer31-May-07 5:24 
QuestionDisplaying help popup under the control in VC++ Pin
Merryla Martina31-May-07 3:49
Merryla Martina31-May-07 3:49 
QuestionTranslateAccelerator doubt Pin
tom groezer31-May-07 3:36
tom groezer31-May-07 3:36 
AnswerRe: TranslateAccelerator doubt Pin
toxcct31-May-07 3:40
toxcct31-May-07 3:40 
AnswerRe: TranslateAccelerator doubt Pin
Rajkumar R1-Jun-07 2:54
Rajkumar R1-Jun-07 2:54 
JokeRe: CString::Format Pin
toxcct31-May-07 3:20
toxcct31-May-07 3:20 
GeneralRe: CString::Format Pin
Rajesh R Subramanian31-May-07 3:44
professionalRajesh R Subramanian31-May-07 3:44 
GeneralRe: CString::Format Pin
Mark Salsbery31-May-07 7:15
Mark Salsbery31-May-07 7:15 
QuestionSyntax Pin
tom groezer31-May-07 3:06
tom groezer31-May-07 3:06 
AnswerRe: Syntax Pin
Rajesh R Subramanian31-May-07 3:14
professionalRajesh R Subramanian31-May-07 3:14 
GeneralRe: Syntax Pin
toxcct31-May-07 3:27
toxcct31-May-07 3:27 
AnswerRe: Syntax Pin
Roger Stoltz31-May-07 3:20
Roger Stoltz31-May-07 3:20 
GeneralRe: Syntax Pin
Rajesh R Subramanian31-May-07 3:23
professionalRajesh R Subramanian31-May-07 3:23 
GeneralRe: Syntax Pin
Roger Stoltz31-May-07 3:27
Roger Stoltz31-May-07 3:27 
GeneralRe: Syntax Pin
jhwurmbach31-May-07 4:29
jhwurmbach31-May-07 4:29 

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.