The number you used is too big. Most languages allow integers of around 2^32, and some 2^64. Seeing how this is a windows 32bit program I'm guessing the largest number you should use is 2^32.