Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

How to check for sp levels


1 reply to this topic

smcin

smcin
  • Full Members
  • 2 posts

Posted 22 November 2002 - 19:20

In using Developer 8, I need to check for service pack levels of the Windows Operating System, how would I accomplish this?

I know that I can get the O/S from GetSystemInfo function but I also need to know the service pack levels.  

Thanks for your help.

hambone

hambone
  • Members
  • 206 posts

Posted 25 November 2002 - 18:00

you might try using the 'operating system properties'.  these will allow you to determine the windows build level, service pack level, 9x version, nt version, etc...

the ServicePackLevel property will return the number representing the current service pack level ( major ).  for minor revision numbers use the ServicePackLevelMinor property...

just remember that public and private properties have different visibility levels...