Subj : Detecting Win XP To : borland.public.cpp.borlandcpp From : A Davis Date : Tue Jun 15 2004 11:34 am Hello All I can detect whether the OS is Win2000/NT using the code shown below, but is there a way to detect if it's Win XP (as opposed to Win98) ? It's probably possible to look at the Windows Folder to see if it contains a WinXP sub-string, but this seems like a dangerous method. Thanks, Regards Al ______ OSVERSIONINFO osv; osv.dwOSVersionInfoSize=sizeof(osv); GetVersionEx(&osv); if(osv.dwPlatformId==VER_PLATFORM_WIN32_NT)...it's Windows NT/2000 ______ .