MASM32 Downloads
For your re-posted sample it is always in dos mode.Did you know what is a Windows program?????I repeat the problem.The problem is to have the same results using the c++ or masm in Windows mode.
Jochen - do you see how RtlGetNtVersionNumbers gets the build number ?is it also in the TEB ?