VB.NET CInt(Long) behaving differently in 32- and 64-bit environments
- by LocoDelAssembly
Hello everybody, this is my first message here.
Today I had a problem converting a Long (Int64) to an Integer (Int32). The problem is that my code was always working in 32-bit environments, but when I try THE SAME executable in a 64-bit computer it crashes with a System.OverflowException exception.
I've prepared this test code in VS2008 in a new…