Re: About stdlib.h system()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 26 Jun 2007, Zhongli Xu wrote:

> Hi all,
> 
> I tried to call another .exe file in my own exe file by using the system()
> API.
> But the return value of system() is -1 and errno is set to ENOENT. It
> indicates that the another exe file is not found.

That must be because you're calling the Unix system() function. If you 
want system() to work in Wine applications you must link with msvcrt and 
call its implementation of system().


-- 
Francois Gouget <fgouget@xxxxxxx>              http://fgouget.free.fr/
           Cahn's Axiom: When all else fails, read the instructions.

_______________________________________________
wine-users mailing list
wine-users@xxxxxxxxxx
http://www.winehq.org/mailman/listinfo/wine-users

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux