[fpc-pascal]About order of units...

Peter Vreman peter at freepascal.org
Sun Aug 31 01:39:50 CEST 2003


> >> The real problem here is types declared in the windows unit where, as I
> >> pointed out previously, LongInt has been confused with BYTE, WORD and 
> LONGWORD
> >> types...
>
> > Can you name examples of that?
>
>A little more information ... I just ran h2pas on a couple of header files
>from the SDK... It created a file just like the examples I gave you... bytes,
>words, longwords... all replaced by LongInt.

h2pas is only a helper program that does the major part of C header 
translation. It uses longint by default as parameter type for 
macro's.  When you want to have correct macro's you need to create/edit 
them manualy.


Peter





More information about the fpc-pascal mailing list