Not really.
On a 64-bit Windows system, the length is 32 bits.
Python 3.1.2 (r312:79149, Mar 20 2010, 22:55:39) [MSC v.1500 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import ctypes >>> ctypes.c_long(2**31) c_long(-2147483648) >>> ctypes.c_long(2**31+1) c_long(-2147483647) >>> ctypes.c_long(2**31-1) c_long(2147483647) >>>
See What is the bit size in 64-bit Windows?
casevh
source share