Re: Detecting Windows ME

2001-04-01 Thread Marcus

On 31.03.01 at 22:23 $Bill Luebkert wrote:
>> Are there any new functions to detect Windows ME as the OS, like
>> IsWinNT()?
>
>If all else fails, you could go to the registry:
>
>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Version
>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\VersionNum
ber

Hmm, problem is, on NT 4, the key appears to be:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Version

I do see "OS=Windows_NT" set as an environment variable. Does anybody
here have Windows ME and could take a look around where the info is
stored?

I need to detect Windows ME in order to work around the shell32.dll
error caused by Win32::FileOp and BrowseForFolder on Windows ME.

Or is anybody sufficiently familiar with the MS web site and could tell
me where to look?

Thanks,

Marcus Friedlaender


___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users



Re: Detecting Windows ME

2001-04-01 Thread $Bill Luebkert

Marcus wrote:
> 
> Are there any new functions to detect Windows ME as the OS, like
> IsWinNT()?
> 
> If not, how does one detect ME, 2000 and 98?
> I only have documentation on detecting NT, 95 and 3.x.

If all else fails, you could go to the registry:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Version
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\VersionNumber

-- 
  ,-/-  __  _  _ $Bill Luebkert   ICQ=14439852
 (_/   /  )// //   DBE Collectibles   http://www.todbe.com/
  / ) /--<  o // //  Mailto:[EMAIL PROTECTED] http://dbecoll.webjump.com/
-/-' /___/_<_http://www.freeyellow.com/members/dbecoll/
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users