jmattson -- thanks for the platform.c program. This is just what I have been looking for. I used the mingw complier:
http://www.mingw.org/Welcome_to_MinGW_org
and that was fine.
Can I ask -- in an earlier post you say: "Assuming that the isolation controls allow the version to be queried..."? Where could this be allowed or disallowed?