I am using Visual C++ .NET 2003. The code takes up approximately 600K
of disk space (so you have any idea of the size). First, I compiled,
builded, and executed this program using exclusively floats for all
precision computing. However, I realized for my application that more
precision was necessary; therefore, all the float instances were changed
to double. The program has no trouble compiling and linking, however
when executing it hangs with the error: System.NullReferenceException
(debug mode).
It ran perfectly before changing from float to double. This was the only
change made; the only other changes were casts from double to float
used when absolutely necessary. Also, there is something strange: When
adding and removing more global identifiers (which do absolutely
nothing), the program seems to freeze at different execution points, so
it seems unlikely that there is a failed reference; but I could be wrong.
Does anyone see what the problem is right away? Sounds like some sort of
memory corruption, perhaps? A loading problem? The heap?
Does anyone have any idea what this could be? I'll try anything at this
point!
Thanks in advance!!