[pi�tek, 14 sierpie� 2009], Jarosław Kądzioła napisa�(a):

Hi,

> > If current hb_processRun() fails then please try to change in
> > hbproces.c[219]:
> >    fError = ! CreateProcess( NULL,           /* lpAppName */
> >                              lpCommand,      /* lpCommandLine */
> > to:
> >    fError = ! CreateProcess( lpCommand,      /* lpAppName */
> >                              NULL,           /* lpCommandLine */
> This shot was OK, now hb_processRun() is OK. Thanks

Thank you for your tests.
I would like to ask you about some others yet.
Above code does not allow to pass parameters.
Can you modifiy it to:
   fError = ! CreateProcess( lpCommand,      /* lpAppName */
                             lpCommand,      /* lpCommandLine */

to execute the following program:

   proc main( ... )
      alert( hb_valToExp( { ... } ) )
   return

Seems that to pass parameters we will have to make some additional
modifications and I would like to know if application name is stripped
from lpCommandLine in WinCE.

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to