mImoto
Full Member level 4
Hello,
I would like to use a C++ library. The problem is that it was not developed for Visual C++ 6.0. I have problems with the (long long) type cast. I woudl appreciate any help on how to solve the long long problem.
unsigned char buffer[255+5];
unsigned long address_field;
unsigned long address_base;
.................................
if
(
(
(long long)address_base + address_field
<
((long long)1 << 32)
)
&&
(
(long long)address_base + address_field + buffer[0]
>
((long long)1 << 32)
)
)
I would like to use a C++ library. The problem is that it was not developed for Visual C++ 6.0. I have problems with the (long long) type cast. I woudl appreciate any help on how to solve the long long problem.
unsigned char buffer[255+5];
unsigned long address_field;
unsigned long address_base;
.................................
if
(
(
(long long)address_base + address_field
<
((long long)1 << 32)
)
&&
(
(long long)address_base + address_field + buffer[0]
>
((long long)1 << 32)
)
)