Reason for some process failures in kernel32 tests

Wagner Ferenc wferi at niif.hu
Mon Jan 1 09:25:50 CST 2007


Paul Vriens <paul.vriens.wine at gmail.com> writes:

> The winetest gui shows that the working directory is (in this case)
> c:\temp\wct12. This value is however not passed to the tests when
> CreateProcess is run:
>
> main.c:
>
> 291     if (!CreateProcessA (NULL, cmd, NULL, NULL, TRUE, 0,
> 292                          NULL, NULL, &si, &pi)) {
           ,--------------------------^
MSDN: If this parameter is NULL, the new process will have the same
      current drive and directory as the calling process.

The CreateProcess documentation is rather convoluted, though.  The
first NULL also seems risky on first read.
-- 
Feri.



More information about the wine-devel mailing list