CALicense::NewCAEngine

Revision as of 18:35, 12 May 2015 by Lchrisman (talk | contribs) (Created page with "<< Back to CALicense = CAEngine* NewCAEngine() = Attempts to create an instance of CAEngine. If this is not possible, perhaps due to a limitation in yo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<< Back to CALicense

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.

Parameters

None

Return value

The newly created CAEngine, or null upon failure.

Examples

In 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;
} 
...

See Also

Comments


You are not allowed to post comments.