Article View: de.comp.os.ms-windows.programmer
Article #82Console Mode and MFC
From: Fontaine.Sebastien
Date: Mon, 05 May 2003 10:08
Date: Mon, 05 May 2003 10:08
22 lines
2239 bytes
2239 bytes
Hi, I developp with VC++ 6.0, and I create MFC window. I get the arguments with GetCommandLine(). My program open the window if the user don't specify arguments, but I would like that my program execute in the console mode if the user specify some arguments. My problem is the printf command not work. I don't want use AllocConsole(); because I want write under the command line. Can you help me ? -- S๏ฟฝbastien Fontaine Fontaine.Sebastien@Laposte.Net (+33) 608855748
Technical Details
Message-ID:
<3eb6388e$0$29494$4d4eb98e@read.news.fr.uu.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!news-FFM2.ecrc.net!news.hamburg.cityline.net!newsfeed.hamburg.cityline.net!dnewsfeed00.dtm.ops.eu.uu.net!dnewsifeed01.dtm.ops.eu.uu.net!lnewsifeed00.lnd.ops.eu.uu.net!lnewspost00.lnd.ops.eu.uu.net!emea.uu.net!read.news.fr.uu.net!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 1124cf,59ebc6be9dc56dcf,start X-Google-Attributes: gid1124cf,public X-Google-Thread: fccfc,59ebc6be9dc56dcf,start X-Google-Attributes: gidfccfc,public X-Google-Thread: 109b8e,59ebc6be9dc56dcf,start X-Google-Attributes: gid109b8e,public X-Google-Thread: 1053e6,59ebc6be9dc56dcf,start X-Google-Attributes: gid1053e6,public X-Google-Thread: fbd5d,59ebc6be9dc56dcf,start X-Google-Attributes: gidfbd5d,public X-Google-Thread: 10e94b,59ebc6be9dc56dcf,start X-Google-Attributes: gid10e94b,public X-Google-ArrivalTime: 2003-05-05 03:15:05 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!news-FFM2.ecrc.net!news.hamburg.cityline.net!newsfeed.hamburg.cityline.net!dnewsfeed00.dtm.ops.eu.uu.net!dnewsifeed01.dtm.ops.eu.uu.net!lnewsifeed00.lnd.ops.eu.uu.net!lnewspost00.lnd.ops.eu.uu.net!emea.uu.net!read.news.fr.uu.net!not-for-mail From: "Fontaine.Sebastien" <Fontaine.Sebastien@Laposte.Net> Newsgroups: de.comp.os.ms-windows.programmer,fr.comp.os.ms-windows.programmation,han.comp.devtools.vc++,microsoft.public.certification.visualstudio,microsoft.public.jp.visualc,microsoft.public.usasalesinfo.developer.visualc++ Subject: Console Mode and MFC Date: Mon, 5 May 2003 12:08:21 +0200 Organization: Private X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Lines: 24 Message-ID: <3eb6388e$0$29494$4d4eb98e@read.news.fr.uu.net> NNTP-Posting-Host: admin.altitudetelecom.fr X-Trace: 1052129422 read.news.fr.uu.net 29494 195.7.119.252 X-Complaints-To: abuse@fr.uu.net