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

C / C++ / MFC

 
GeneralGlobal Variables Pin
asv19-May-04 2:32
asv19-May-04 2:32 
GeneralRe: Global Variables Pin
valikac19-May-04 5:09
valikac19-May-04 5:09 
GeneralRe: Global Variables Pin
asv19-May-04 6:26
asv19-May-04 6:26 
GeneralRe: Global Variables Pin
Andrew Quinn AUS19-May-04 6:06
Andrew Quinn AUS19-May-04 6:06 
GeneralRe: Global Variables Pin
asv19-May-04 6:36
asv19-May-04 6:36 
GeneralRe: Global Variables Pin
Andrew Quinn AUS19-May-04 6:52
Andrew Quinn AUS19-May-04 6:52 
GeneralRe: Global Variables Pin
asv19-May-04 21:56
asv19-May-04 21:56 
GeneralOutput redirect Pin
no_reg_name19-May-04 2:16
no_reg_name19-May-04 2:16 
I inherited some source code that was originaly written for command line apps. Frown | :(

Some functions have signatures as follows

void doSomething(whatever wh, FILE *fp);

so if you pass stdin or stderr it will output the result to the console.

Since I'm writing an MFC app that needs to use these functions, is there any way to redirect the output to a MessageBox, Static text or any other non console output?

GeneralRe: Output redirect Pin
Roger Allen19-May-04 3:55
Roger Allen19-May-04 3:55 
GeneralNon Modal Dialogs Pin
pavneet19-May-04 1:45
pavneet19-May-04 1:45 
GeneralRe: Non Modal Dialogs Pin
Prakash Nadar19-May-04 1:48
Prakash Nadar19-May-04 1:48 
GeneralRe: Non Modal Dialogs Pin
User 665819-May-04 2:48
User 665819-May-04 2:48 
GeneralRe: Non Modal Dialogs Pin
Prakash Nadar19-May-04 7:54
Prakash Nadar19-May-04 7:54 
GeneralRe: Non Modal Dialogs Pin
pavneet20-May-04 0:25
pavneet20-May-04 0:25 
Generalpointer error Pin
Ni@m19-May-04 1:35
Ni@m19-May-04 1:35 
GeneralRe: pointer error Pin
Prakash Nadar19-May-04 1:46
Prakash Nadar19-May-04 1:46 
GeneralRe: pointer error Pin
Dennis Gourjii19-May-04 1:58
Dennis Gourjii19-May-04 1:58 
GeneralRe: pointer error Pin
Tim Smith19-May-04 3:49
Tim Smith19-May-04 3:49 
GeneralRe: pointer error Pin
Dennis Gourjii21-May-04 0:39
Dennis Gourjii21-May-04 0:39 
GeneralRe: pointer error Pin
Cedric Moonen19-May-04 1:51
Cedric Moonen19-May-04 1:51 
GeneralRe: pointer error Pin
valikac19-May-04 5:11
valikac19-May-04 5:11 
GeneralRe: pointer error Pin
bikram singh19-May-04 5:58
bikram singh19-May-04 5:58 
GeneralTreeCtrl with Tri-State Checkboxes Pin
Taliston19-May-04 0:59
Taliston19-May-04 0:59 
Questionhow to draw Dashed Ellipse in WinCE Pin
Arun AC19-May-04 0:19
Arun AC19-May-04 0:19 
AnswerRe: how to draw Dashed Ellipse in WinCE Pin
Mike Dimmick19-May-04 5:36
Mike Dimmick19-May-04 5:36 

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.