John Harrison wrote:
Ian Collins wrote:
>Sonic.. wrote:
>>Is there any way or any function provided in vc++ by which i can
determine if my module or application is a 32 bit or a 64 bit
application.
Why not ask on a VC group? There's probably an integer type (long
long?) that indicates size.
Actually my money would be on size_t, so in a way the question has a
standard answer, so is ON TOPIC!
I'd probably also try pointer sizes. Or ptrdiff_t size. However,
there is probably a macro that some compilers define which can be
easily used for the "target bit-ness".
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask