>> 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



_______________________________________________ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to