I've tried MSVC 6.0 and MSVC 2003. All the same - it works. Please, check your sources. I have no idea where the bug can be.
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@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