Hi James,

Dr Bob has written a tool which does C to Object Pascal conversion.
Have a look at: http://www.drbob42.com/delphi/headconv.htm
There is a table of conversions there as well. Have a close look at boolean
conversion. I think Dr Bobs docs have got it wrong - I don't know about his
tool. As well as type conversion you'll need to consider member alignment
{$A} for structured types, and enumeration sizes {$Z}

HTH, Paul.

At 09:49 3/01/01 , you wrote:
>Happy New Year To all !!!,
>
>Does anyone know of a website that has a list of the C data types and their
>Object Pascal Equivalent. I have to read in some untyped files and have been
>given the C structures of them. I just want to make sure I get the correct
>Delphi data types .

__________________________________________________________
Paul Spain      mailto:[EMAIL PROTECTED]
__________________________________________________________

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to