About stdlib.h system()
Zhongli Xu
zhongli.xu at gmail.com
Tue Jun 26 03:52:57 CDT 2007
Yes, the mingw-gcc case works.
But I use the Visual C++ 7.0 to compile. It still fails.
On 6/26/07, Kirill K. Smirnov <lich at math.spbu.ru> wrote:
>
> Hi,
>
> I've tried to reproduce, but failed:
>
> a.c:
> #include <stdio.h>
> #include <stdlib.h>
>
> int main(void)
> {
> system("qqq.exe");
> return 0;
> }
>
>
> $ mingw-gcc -mconsole -mno-cygwin a.c
> $ wine a.exe
>
> It works.
>
> $ mingw-gcc a.c
> $ wine a.exe
>
> It works too.
>
> Executable qqq.exe exists in ~/.wine/drive_c/windows directory.
>
> --
> Kirill
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-devel/attachments/20070626/592501d5/attachment.htm
More information about the wine-devel
mailing list