Re: How to call a shell command in MFC
From: Colin Girling (colin_at_colingirling.my-bulldog.com)
Date: 11/05/04
- Next message: Brian Toothill: "Can a Windows service GetDC() ?"
- Previous message: Josef Wohlinger: "Coding a fully aware IME candidate list -- selecting an item by its page index"
- In reply to: Hu Dong: "How to call a shell command in MFC"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 5 Nov 2004 12:51:52 -0000
Could also use:
_spawnl(_P_WAIT, szPath, "dummy", NULL);
easier to use than CreateProcess.
"Hu Dong" <hdong@ucdavis.edu.INVALID> wrote in message
news:ujQ8fDewEHA.3528@tk2msftngp13.phx.gbl...
> Hi,
> I just want to call a shell command "processor-cmd -cmd -netfolder
> myfolder"
> in my MFC application. I also want to have it run synchronousely --- the
> MFC
> application should wait until the shell command returns. I have googled
> but
> did not find anything useful. Do you have any comments or suggestions?
>
> Many thanks in advance.
>
> Hu
>
>
- Next message: Brian Toothill: "Can a Windows service GetDC() ?"
- Previous message: Josef Wohlinger: "Coding a fully aware IME candidate list -- selecting an item by its page index"
- In reply to: Hu Dong: "How to call a shell command in MFC"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|