At 11:15 PM 28/12/2004, Warren Young wrote:
>Totte Karlsson wrote:
>>The macro NO_LONG_LONGS had to be defined.
>There is probably a way to change platform.h so that is not necessary. You
>probably just have to find out what Borland C++ calls its 64-bit integer
>type, and supply the appropriate typedefs.
>NO_LONG_LONGS really only should be defined for systems that truly lack
>any 64-bit integer support, like 486es and older.
A lot of BCB 6 users don't realise that it DOES have 64 bit integer support
as 'extended integer types' -
ie "__int64" and "unsigned __int64". Although you do need to be careful if
assigning large constants in your code to use the appropriate suffix as
unsigned __int64 AverybigInt = 1234567887654321ui64;
I haven't used them a lot, but they seem to work when I have - so maybe you
should be trying them instead of defining NO_LONG_LONGS.