Py_BuildValue And ULARGE_INTEGERS

John Abel johnfabel at btinternet.com
Thu Feb 27 13:50:31 EST 2003


Hi,

I have a routine coded in C, that is being returned a ULARGE_INTEGER.  
I'm using Py_BuildValue ( "iiiiii", retOne, retTwo, retThree) to return 
the values back.  However, I am getting spurious figures with some of 
the values.  Does anyone know if Python can handle such large figures?  
Can someone point me in the right direction? 

I'm using Python on Win2000 with V Studio 6, the call is 
GetDiskFreeSpaceEx ( 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/getdiskfreespaceex.asp).

Any pointers would be much appreciated.

Thanks

John






More information about the Python-list mailing list