How to: display output to a DOS window from MFC Windows App 
Author Message
 How to: display output to a DOS window from MFC Windows App

Check out "Calling CRT Output Routines from a GUI Application"
ID:Q105305. That tells you how to output messages to the console.


Quote:

>  This may sound like a simple (and probably silly) question;  but how do I
> display information to the 'DOS' command line from a MFC Windows program?

> My program has two modes.  One, where you configure your request by
> interactively editing the options using standard windows dialogs, the other
> allows you to run the program from the command-line (you specify all
> options), and it should displays the progress in real time.

> Any help greatly appreciated.

> Regards.

> Ben Thomas

--
Girish Bharadwaj
Software developer
http://www.*-*-*.com/ ~GBharadwaj/index.html




Sun, 19 Mar 2000 03:00:00 GMT  
 How to: display output to a DOS window from MFC Windows App

I dont think that is possible.At least, not from the Windows application
end. Maybe from VXDs.. So, That's a no go.:-(


Quote:

>  Thanks, that code certainly allows output to a DOS window - the only
> problem is that it spawns a new one.  Any way of forcing the output to the
> window from which the app was run?

> BTW, thanks for you fast reply!

> Ben.


> >Check out "Calling CRT Output Routines from a GUI Application"
> >ID:Q105305. That tells you how to output messages to the console.


> >>  This may sound like a simple (and probably silly) question;  but how do
> I
> >> display information to the 'DOS' command line from a MFC Windows program?

> >> My program has two modes.  One, where you configure your request by
> >> interactively editing the options using standard windows dialogs, the
> other
> >> allows you to run the program from the command-line (you specify all
> >> options), and it should displays the progress in real time.

> >> Any help greatly appreciated.

> >> Regards.

> >> Ben Thomas

> >--
> >Girish Bharadwaj
> >Software developer
> >http://members.tripod.com/~GBharadwaj/index.html



--
Girish Bharadwaj
Software developer
http://members.tripod.com/~GBharadwaj/index.html




Sun, 19 Mar 2000 03:00:00 GMT  
 How to: display output to a DOS window from MFC Windows App

 This may sound like a simple (and probably silly) question;  but how do I
display information to the 'DOS' command line from a MFC Windows program?

My program has two modes.  One, where you configure your request by
interactively editing the options using standard windows dialogs, the other
allows you to run the program from the command-line (you specify all
options), and it should displays the progress in real time.

Any help greatly appreciated.

Regards.

Ben Thomas



Mon, 20 Mar 2000 03:00:00 GMT  
 How to: display output to a DOS window from MFC Windows App

 Thanks, that code certainly allows output to a DOS window - the only
problem is that it spawns a new one.  Any way of forcing the output to the
window from which the app was run?

BTW, thanks for you fast reply!

Ben.


Quote:
>Check out "Calling CRT Output Routines from a GUI Application"
>ID:Q105305. That tells you how to output messages to the console.


>>  This may sound like a simple (and probably silly) question;  but how do
I
>> display information to the 'DOS' command line from a MFC Windows program?

>> My program has two modes.  One, where you configure your request by
>> interactively editing the options using standard windows dialogs, the
other
>> allows you to run the program from the command-line (you specify all
>> options), and it should displays the progress in real time.

>> Any help greatly appreciated.

>> Regards.

>> Ben Thomas

>--
>Girish Bharadwaj
>Software developer
>http://members.tripod.com/~GBharadwaj/index.html





Mon, 20 Mar 2000 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. MFC and DOS apps - Redirecting console output to an MFC app (Newbie)

2. MFC and DOS apps - Redirecting console output to an MFC app (Newbie)

3. Outputting DOS program output to a MFC window

4. Console output from Windows App

5. Outputting to Console from the Windows app

6. Getting console-based app output into a Windows view

7. General tool selection and help for writing a network app for DOS/Windows

8. Calling Windows API from DOS app.

9. How to Call Windows API from DOS app.

10. Announce: Put Windows face on DOS apps

11. Windows 95 Debugger for debugging DOS apps?

12. Switching between Dos and Windows App

 

 
Powered by phpBB® Forum Software