[fpc-devel] Win CE CreateFile

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


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.


More information about the fpc-devel mailing list