Too bad about VS2010, it seems their energy goes into all the fancy other libs they're trying to push, but raw C++ power is being neglected.
I am trying 2.29. Results:
- funnily enough I made an error the first time; I linked with the newton.lib for DLL's (~80Kb) but had the newton.h set to use the .lib. It still worked (although I did install the 2.29 newton.dll in my app directory)
- the NaN disappeared with this DLL version - note the NaN appears when I read back the Newton body position after a step.
- I then reverted to 2.26 (static lib/mt) to verify my earlier NaN results. It indeed gave me back the NaN when I hit a wall quickly (takes a few seconds).
- Since this would be of no use to you, I changed to Newton 2.26/DLL.
- For fun I tried to use the 2.26 DLL .lib with the 2.29 DLL. That in fact works (without NaN also), but ofcourse a bit awkard. I switched to the 2.26 newton.dll as well.
- The 2.26 DLL version works without NaN, only the static newton.lib fails. I verified that by switching to 2.26/static/MT.lib; it started generating NaN again.
- I switched to 2.29/static/MT. I gives me back the NaN.
- I switch to 2.29 DLL again. Finally I start using NewtonWorldGetVersion() - it seems the 2.26 DLL returns 225.

The 2.29 DLL correctly gives 229 though. The NaN is gone.
I realise this isn't much use (you can only debug the DLL version); using the 2.29 static lib gives me problems. It might be a compilation settings; I've turned off exception handling for example, since I don't really find those helpful (too fatal for my taste). Or some calling convention, although I'm not doing anything non-default there. Consider it fixed for now, but keep it in mind if somebody else gets into trouble using the static libs.
Notes:
- NaN generated when a convex hull hits a collision tree
- I had to modify NewtonCreateBody() each time for the 3rd matrix argument. I understand that's currently unused (only in 3.00).
- My collision tree is loaded from disk, but that checks for the Newton version, so it correctly regenerates the tree when I switch Newton versions.