The binaries were created with Sun/Unix... and I now know that the vars are all 4 bytes, but a mix of float and int. So which variables do I need in Delphi to read them/
Thanks, Nick ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Rory Daulton Sent: Friday, July 14, 2006 3:50 PM To: [email protected] Subject: Re: [delphi-en] mapping C varialbes to Delphi 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] <mailto:rorydaulton%40email.com> ---------------------------------------------------------- [This e-mail scanned for viruses and spam by Nmax - "Your MAXimum Connection!"] [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/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/

