Kbase P175456: How to determine the bitsize of the Windows Operating System on which OpenEdge is running/installed
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  15/10/2010 |
|
Status: Unverified
GOAL:
How to determine the bitsize of the Windows Operating System on which OpenEdge is running/installed
GOAL:
How to determine if the version of Windows you're running on is 32 or 64 bit
FACT(s) (Environment):
x86_64 (AMD64/EMT64)
OpenEdge 10.x
FIX:
Run the following code. If it returns the unknown value you're running on 32bit Windows, if it returns the full path to a directory you are running on 64bit Windows:
DEFINE VARIABLE cWinDir AS CHARACTER NO-UNDO.
cWinDir = OS-GETENV("windir").
FILE-INFO:FILE-NAME = RIGHT-TRIM(c,"~\") + "~\SysWOW64".
MESSAGE FILE-INFO:FULL-PATHNAME VIEW-AS ALERT-BOX.\