<div dir="ltr">Da, aparent asta era problema. Mersi mult.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 28, 2019 at 5:52 PM Adrian Șendroiu <<a href="mailto:molecula2788@gmail.com">molecula2788@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Din ce zice aici [1].<br>
<br>
If the process has not terminated and the function succeeds, the<br>
status returned is STILL_ACTIVE.<br>
<br>
STILL_ACTIVE pare să fie 259.<br>
<br>
Apelezi cumva GetExitProcess înainte să se termine procesul copil?<br>
Înainte să faci WaitForSingleObject de exemplu?<br>
<br>
[1] <a href="https://docs.microsoft.com/en-us/windows/desktop/api/processthreadsapi/nf-processthreadsapi-getexitcodeprocess" rel="noreferrer" target="_blank">https://docs.microsoft.com/en-us/windows/desktop/api/processthreadsapi/nf-processthreadsapi-getexitcodeprocess</a><br>
<br>
On Thu, 28 Mar 2019 at 17:43, Qzie <<a href="mailto:podarumihai97@gmail.com" target="_blank">podarumihai97@gmail.com</a>> wrote:<br>
><br>
> Apelul GetExitCodeProcess imi completeaza in status acest cod.<br>
><br>
> On Thu, Mar 28, 2019 at 5:36 PM Adrian Șendroiu <<a href="mailto:molecula2788@gmail.com" target="_blank">molecula2788@gmail.com</a>> wrote:<br>
>><br>
>> Cine întoarce acel 259 mai exact?<br>
>><br>
>> On Thu, 28 Mar 2019 at 17:20, Qzie via so <<a href="mailto:so@cursuri.cs.pub.ro" target="_blank">so@cursuri.cs.pub.ro</a>> wrote:<br>
>> ><br>
>> > 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.<br>
>> > _______________________________________________<br>
>> > <a href="http://ocw.cs.pub.ro/courses/so/info/lista-discutii" rel="noreferrer" target="_blank">http://ocw.cs.pub.ro/courses/so/info/lista-discutii</a><br>
</blockquote></div>