CALicense::NewCAEngine

Revision as of 08:17, 23 October 2015 by Jhuawen (talk | contribs) (Created page with "新近建立的CAEngine,或者失败时返回null(空值)。")

ADE User Guide > ADE Server Class Reference > CALicense

Other languages:
English • ‎中文

CAEngine* NewCAEngine()

Attempts to create an instance of CAEngine. If this is not possible, perhaps due to a limitation in your ADE license, the ErrorCode and ErrorText properties are set to indicate the reason for the failure.

参 数

返回值

新近建立的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


You are not allowed to post comments.