Hello task.
You say, that "When the VI is used, the problem doesn't occur." Is this statement true for the same PC that "hangs" when running the application? Or did you run the VI on a different PC?
I could never observe that a robust application (and I take from your description that the EXE is robust) hangs on a PC with a few exceptions - but these were all related to the hardware: My first tip is, that your PC has a problem with the CPU or the RAM.
Any further tips would be useful, too.
Is Win2000 still usable when your application hangs or do you have to reboot?
Can you find any interesting entries in the Windows Event Viewer? (I was once in the lucky situation to detect a hard disk that was still working properly although Windows had already posted some events that the hard disk needs to be replaced.)
Does the "periodic freeze" appear after an almost constant period of operation?
BR, Guenter