Da, aparent asta era problema. Mersi mult. On Thu, Mar 28, 2019 at 5:52 PM Adrian Șendroiu <[email protected]> wrote:
> Din ce zice aici [1]. > > If the process has not terminated and the function succeeds, the > status returned is STILL_ACTIVE. > > STILL_ACTIVE pare să fie 259. > > Apelezi cumva GetExitProcess înainte să se termine procesul copil? > Înainte să faci WaitForSingleObject de exemplu? > > [1] > https://docs.microsoft.com/en-us/windows/desktop/api/processthreadsapi/nf-processthreadsapi-getexitcodeprocess > > On Thu, 28 Mar 2019 at 17:43, Qzie <[email protected]> wrote: > > > > Apelul GetExitCodeProcess imi completeaza in status acest cod. > > > > On Thu, Mar 28, 2019 at 5:36 PM Adrian Șendroiu <[email protected]> > wrote: > >> > >> Cine întoarce acel 259 mai exact? > >> > >> On Thu, 28 Mar 2019 at 17:20, Qzie via so <[email protected]> wrote: > >> > > >> > Are cineva idee de ce poate intoarce procesul copil statusul > ERROR_NO_MORE_ITEMS (259) la testul 33 ? Numarul de scrieri si rezultatul > din fisier este corect, dar pica verificarea status codului. > >> > _______________________________________________ > >> > http://ocw.cs.pub.ro/courses/so/info/lista-discutii >
_______________________________________________ http://ocw.cs.pub.ro/courses/so/info/lista-discutii
