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

Windows Class: Is64bitOS

Previous  Top  Next  


Prototype: (),Byte

 

ReturnsTrue or false depending on if the operating system (OS) is 64bit or not

 

This method checks if the IsWow64Process function exists in Kernel32.dll.  If it does, the operating system can be 64bit and then the function is called and depending on what it returns it is determined if the program is running under 64bits or not.

 

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:

Is64bitOSAvailable

 



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