www.icetips.com  Icetips Utilities Documentation 5/9/2015    

Windows Class: Is64bitOSAvailable

Previous  Top  Next  


Prototype: (),Byte

 

ReturnsTrue or false depending on if the operating system (OS) has a 64bit option or not.

 

This method checks if the IsWow64Process function exists in Kernel32.dll.  If it does, the operating system can be 64bit.  This includes Windows XP, Windows Vista, Windows Server 2008 and Windows 7, but not older windows versions such as Window 98, Windows 95 or Windows 3.x.

 

Example:

ITW  ITWindowsClass

Code

 

If ITW.Is64bitOSAvailable()

  Message('This Operating System can be 64bit')

  If ITW.Is64bitOS()

    Message('This program is running under a 64 bit Operating System')

  Else

    Message('This program is running under a 32 bit Operating System')

  End

Else

  Message('This Operating System cannot be 64bit')

End

 

 

See also:

Is64bitOS



Direct link to this page: http://www.icetips.com/manuals/utilities/is64bitosavailable_window.htm