Nick,

> Does anyone know what variables in C map to in Delphi.  I have an int
> and float variable in a binary file in C and would like to read the
> binary file in Delphi, but I don't know how to map the variables.

We need a little more information, because some of the C types depend on the 
CPU.  For example, in DOS and Windows 3.x, int was a 2-byte integer, like 
Delphi's Smallint.  In Windows 95 and up, int is a 4-byte integer, like 
Delphi's Longint.  IOW, C's int is like Delphi's Integer (usually).

Can you give more info on the environment of the C program?

Rory Daulton
[EMAIL PROTECTED] 


-------------------------------------------------------------------------------
[This e-mail scanned for viruses and spam by Nmax - "Your MAXimum Connection!"]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/i7folB/TM
--------------------------------------------------------------------~-> 

-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to