Jan Dubois wrote:
On Sat, 24 May 2008, Bill Luebkert wrote:
I need to be able to handle an arg/return type of :
signed/unsigned __int64
on a 32-bit OS for some debug API calls (I assume it would be even
more useful on a 64-bit OS, but possibly int defaults to 64 there
making it unnecessary).
In 64-bit Windows 'int' and 'long' are still 32 bit.
http://blogs.msdn.com/oldnewthing/archive/2005/01/31/363790.aspx
That seems strange to me (normally you want your int to be the register
size), but I still need to be able to get a 64-bit return value on a
32-bit OS - so that part still needs work as near as I can tell.