
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