Hi Stephan,

Le��jeu. 21 mars 2019 �� 21:39, Stephan Eggermont <stephan@stack.nl> a ��crit��:
ducasse <stepharo@netcourrier.com> wrote:
> Hello Stefan
>
> Can you report the exact call you were doing?
> I talked with G and Pablo and the bug they fixed is not the same.
> Now they would like to experiment and write tests for all the platform.

BOOL GetExitCodeProcess(
�� HANDLE�� hProcess,
�� LPDWORD lpExitCode
);

what are your mappings for BOOL, HANDLE and LPDWORD? Those are user defined types :)


I was trying to get the exit code of a running process on windows. That
didn���t work, so we started again with OSWindows on a clean Pharo 8. There
we noticed that the currentProcess was not [ 255 255 255 255 255 255 255
255] but [ 255 255 255 255 0 0 0 0]. That (and the test being green in 32
bit) triggered the idea. We did a quick and dirty change to verify, and
then found out that the Squeak code had cleaner fixes.

Stephan




--

������

Guille Polito

Research Engineer

Centre de Recherche en Informatique, Signal et Automatique de Lille

CRIStAL - UMR 9189

French National Center for Scientific Research - http://www.cnrs.fr


Web: http://guillep.github.io

Phone: +33 06 52 70 66 13