Re: Visual Studio 2005 x64 mode.
- From: stevensmith1010@xxxxxxxxx
- Date: Wed, 7 May 2008 07:45:15 -0700 (PDT)
On May 7, 10:37 am, David Lowndes <Dav...@xxxxxxxxxxxxxxx> wrote:
I am trying to port my VC++ application to a x64 compatible platform.
Since most of my code makes use of int's ...( I noticed that an int is
32bits long on x64 mode as well)....I want to be able to use 64bit
ints in my new code.... I was wondering if there is some option or
setting in VC++ tht allows me to treat int's as 64 bit longs or 64 bit
integers?
None that I know of. It's implicit in Win64 that ints are still
32-bit.
If you have specific code that would benefit from having 64 bit
values, why not use the __int64 type (or have a suitable redefinition
for portability).
Dave
Hi Dave,
the problem is I have a very huge code and to manually go and change
to __int64 would be very tedious....so thats why was thinking if there
are some kind of compiler switches to force ints as __int64's...?
.
- Follow-Ups:
- Re: Visual Studio 2005 x64 mode.
- From: Tim Roberts
- Re: Visual Studio 2005 x64 mode.
- From: David Lowndes
- Re: Visual Studio 2005 x64 mode.
- References:
- Visual Studio 2005 x64 mode.
- From: stevensmith1010
- Re: Visual Studio 2005 x64 mode.
- From: David Lowndes
- Visual Studio 2005 x64 mode.
- Prev by Date: Re: Visual Studio 2005 x64 mode.
- Next by Date: Re: Get CPU Utilization without WMI
- Previous by thread: Re: Visual Studio 2005 x64 mode.
- Next by thread: Re: Visual Studio 2005 x64 mode.
- Index(es):
Relevant Pages
|