The above program is all there is too it. A couple of variables and one function.
4.64 runs out of stack space quite quickly. Perhaps it needs to be more dynamic in the allocation of heap and stack space.
In Task manager you see Kix32 start briefly at 15,000K to 45,000K then as it terminates it displays 75,464K
Kix32 453 terminates at 259,820K
Kix32 460 terminates at 834,748K

So 4.64 must be under resourced.

Cheers,


Edited by BillBarnard (2014-11-20 02:10 PM)
_________________________
Bill