> - More than 2500 the program crashes with a stack overflow (I have not > investigated this further yet.. it may well be a problem with my interface) This is likely actually a stack overflow, ODE uses _alloca and fairly heavily, so if you don't give it enough stack it'll die, at least it does for me, bump up the default stack size. charlie.