Difference between revisions of "CAEngine"

 
Line 3: Line 3:
 
= class CAEngine  (ADE) =
 
= class CAEngine  (ADE) =
  
==Creation==
+
= In-Process and Out-of-Process Instantiations =
  
Use of ADE really starts with the creation of a [[CAEngine]] object, from which all else flows.  If you are using the ADEW.dll in-process server, you can only create and use one [[CAEngine]] instance.  If you are using the ADE.exe out-of-process server, you may create as many [[CAEngine]] instances as you desire, each one running as a separate process.  In web-based applications, a separate [[CAEngine]] instance is typically created for each user session.  Each [[CAEngine]] instance can have one model loaded at a time.
+
= Creation =
  
You can either create a [[CAEngine]] instance directly, or by calling [[CALicense::NewCAEngine]]().  The later method requires you to first create a [[CALicense]] instance, but has the advantage that you can obtain further information about the cause of failure when creation fails.  Direct creation of [[CAEngine]] will fail if the license to use ADE on the given computer is invalid, expired, etc.
+
== C# ==
  
See [[CAEngine]] for language-specific details.
+
== Visual Basic.NET ==
 +
 
 +
== C++ ==
 +
 
 +
== VBScript ==
  
 
==Properties==
 
==Properties==

Revision as of 19:45, 1 August 2009

class CAEngine (ADE)

In-Process and Out-of-Process Instantiations

Creation

C#

Visual Basic.NET

C++

VBScript

Properties

Methods

Comments


You are not allowed to post comments.