64 bit or 32 bit application

S

Sonic..

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.
 
I

Ian Collins

Sonic.. said:
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.
 
J

John Harrison

Ian said:
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!

john
 
V

Victor Bazarov

John said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,015
Latest member
AmbrosePal

Latest Threads

Top