That was a hint in the right direction – this program is started from another 
program and that program (for whatever reason on this PC) was set in 
compatibility mode Windows XP.

So why the child program also thought it was running under Windows XP is more 
or less sensible.

However (because this is being used for logging) we are more interested in the 
actual OS version installed, or actual and the compatibility version if they 
are different. 

The code being called is Delphi stock standard TOSVersion which  gets told the 
compatibility version rather than the real version.

Is there a way to get both the OS version (installed) and compatibility mode 
(effective Windows version)?

John Bird


_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [email protected] with 
Subject: unsubscribe

Reply via email to