Subj : I need a routine to convert a real48 type into a double To : borland.public.cpp.borlandcpp From : E. Kali Date : Tue Aug 02 2005 11:46 am Hi all, I've got the following problem. I'm reading data out of a binary file which had been written by a Delphi application. The data structure of the delphi application which wrote the data looks like this--> TMyDelphiRecord = packed record aReal48Value : Real48; aByteValue : Byte; aWordValue : Word; and so on... end; My C++ Builder application reads the into a data structure like this struct TMyCBuilderStruct{ unsigned char aReal48Value[6]; unsigned char aByteValue; unsiged short aWordValue; and so on... }; My question ==> how can I convert the aReal48Value into a valid c++ double value?. Thanks in advance! .