[fpc-pascal]More strangeness...

L D Blake ldblake at sympatico.ca
Sat Aug 30 00:43:41 CEST 2003

In reply to your message of August 29, 2003
> Yes I think about it. Typed negative on this side (the pascal side). On
> 2-complements it is the same binary layout, only the interpretation is
> different.  The win32 API sees no difference, since it puts its own typing
> over it.

Turn on Pascal's range checking and watch what happens...

I counted the errors and counted the HWNDs in my application... one error for
each window handle.

Also... as I reported, it garbles the display. I'm thinking the window handle
is *changed* by the mismatch, giving rise to the possibility of duplicate handles.

(My app is highly visual... most everything occurs on the screen.)

 L D Blake

More information about the fpc-pascal mailing list