[fpc-devel] Win CE CreateFile

Carsten Bager carsten at beas.dk
Mon Oct 19 15:20:24 CEST 2015


Hi

The function system.CreateFile sometimes return a negative value (LongInt) under Win CE 
when used together with COM ports.
When I typecast to LongWord everything works.
Is it ment to be that way.

Carsten



More information about the fpc-devel mailing list