API version 12
- ‐
is64bitMode¶
.NET連携の動作モード(x86/x64)を取得します。
.NET連携のサブプログラム(invoker.exe)がx86(32bit)とx64(64bit)のどちらのアーキテクチャで動作しているかを取得します。
デフォルトの動作モードはBiz/Browser自身のexeのアーキテクチャと同一です。
呼出形式一覧
呼出形式 |
説明 |
---|---|
boolean is64bitMode() |
.NET連携の動作モード(x86/x64)を取得します。 |
戻り値一覧
戻り値 |
説明 |
---|---|
boolean |
trueの場合、x64(64bit)であることを示します。 falseの場合、x86(32bit)であることを示します。 |
例外
なし
関連項目
set64bitMode メソッド
使用例
CRSダウンロード
Form ExternalObject_methods {
X = 0;
Y = 0;
width = 350;
Height = 220;
Button btnGetMode {
x = 10;
y = 10;
width = 150;
height = 30;
title = "is64bitMode()";
Function OnTouch( e ) {
MessageBox("is64bitMode = " + str(ExternalObject.is64bitMode()));
}
}
Button btnSetMode64 {
x = 10;
y = 70;
width = 150;
height = 30;
title = "set64bitMode(true)";
Function OnTouch( e ) {
try {
ExternalObject.set64bitMode(true);
} catch(e) {
MessageBox(e.category + "-" + str(e.code) + ":" + str(e.subCode) + " " + e.message);
return;
}
}
}
Button btnSetMode32 {
x = 10;
y = 110;
width = 150;
height = 30;
title = "set64bitMode(false)";
Function OnTouch( e ) {
try {
ExternalObject.set64bitMode(false);
} catch(e) {
MessageBox(e.category + "-" + str(e.code) + ":" + str(e.subCode) + " " + e.message);
return;
}
}
}
Button btnInvokeTest {
x = 10;
y = 170;
width = 300;
height = 30;
title = "InvokeTest : System.Environment.Is64BitProcess()";
Function OnTouch( e ) {
try {
MessageBox(ExternalObject.GetPropStatic("System.Environment", null, "Is64BitProcess"));
} catch(e) {
MessageBox(e.category + "-" + str(e.code) + ":" + str(e.subCode) + " " + e.message);
return;
}
}
}
}