Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
Test if 64bit OI
At the moment I do this to test if I am running in OI10, is there a preferred way.
1 2 3 | is64Bit = SRP_Path( "Exists" , drive(): "\OpenInsight.exe" ) ControlsOCXFolder= "c:\FM_OCXCONTROLS" if is64Bit then ControlsOCXFolder:= "64" |
Comments
OIVersion=Get_Property(
"SYSTEM"
,
"VERSION"
)<
2
>
is64Bit =
if
(field(OIVersion,
'.'
,
1
)
+0
) >
9
then
1
else
0