Chapter 19 Creating ActiveX Components
Begin by writing an ActiveX component in an ActiveX-enabled IDE. After you have defined the method prototypes (ActiveX type definitions), use Jaguar Manager to import the component, which includes method prototypes and basic component information (such as the component's name); specify additional component properties in Jaguar Manager. This allows another developer to create a client that calls the component's methods. You can also use Jaguar Manager to define a component, but you will still have to use an ActiveX-enabled IDE to create the component--you cannot use Jaguar Manager to export the component to an ActiveX-enabled IDE.
In the ActiveX-enabled IDE, write the method logic for the ActiveX component. The ActiveX component must support the IDispatch interface and cannot contain a user interface. In addition to writing code for standard ActiveX features, you can also write code to implement Jaguar-specific features such as error handling, database connection caches, result sets, transactions, intercomponent calls, and data sharing.
After you finish writing the ActiveX component, compile the component into a dynamic link library (DLL) and install (copy and register) it onto the Jaguar server. See your ActiveX IDE documentation for compilation instructions.
Copyright © 2000 Sybase, Inc. All rights reserved. |