Hi,<br><br>i&#39;m using openwatcom under wine, all is ok, but next code will not work:<br><br>#include &lt;windows.h&gt;<br>void main( void ) {<br>&nbsp;&nbsp;&nbsp; system( &quot;foo.exe&quot; );<br>}<br clear="all"><br>same problem for:
<br><br>#include &lt;windows.h&gt;<br>
void main( void ) {<br>
&nbsp;&nbsp;&nbsp; WinExec( &quot;foo.exe&quot;, SW_SHOW );<br>
}<br clear="all"><br>where &quot;foo.exe&quot; is a windows console aplication<br><br>if i try to launch foo.exe with wine in a terminal window is working<br><br>example:<br><br>wine foo.exe<br><br>is working fine !<br><br>

how can i make my code working ?<br clear="all"><br>-- <br>George Enescu 16/13<br>Hunedoara<br>mobil: 0720301842<br>tel.&nbsp;&nbsp; : 0354401534