CALicense::NewCAEngine
ADE User Guide > ADE Server Class Reference > CALicense
CAEngine* NewCAEngine()
嘗試建立CAEngine實例。如果不可以,可能由於你的ADE決策引擎許可證受限,通過設定ErrorCode和ErrorText屬性指明失敗的原因。
參 數
無
返回值
新近建立的CAEngine,或者失敗時返回null(空值)。
示例
在C#中
CALicense lic = new ADE.CALicense();
CAEngine ade = lic.NewCAEngine();
if (ade==null) {
Console.Write("ADE could not be launched because ");
Console.WriteLine(lic.ErrorText);
return;
}
...
另請參考
Comments
Enable comment auto-refresher