Important: The information in this document is obsolete and should not be used for new development.
Creating Components
This section describes how to create a component and how your component interacts with the Component Manager. This section also describes many of the routines that the Component Manager provides to help you manage your component. If you are developing a component, you should read the material in this section.If you are developing an application that uses components, you may find this material interesting, but you do not need to be familiar with it. You should read the preceding section, "Using the Component Manager," and then use the "Component Manager Reference" section as needed.
This section discusses how you can
This section presents several examples demonstrating how to create components and register them with the Component Manager. All of these examples are based on a "drawing component"--a simple component that draws an object of a particular shape on the screen. This section includes the code for a drawing component.
- structure your component
- respond to requests from the Component Manager
- define the functions that applications may call to request service from your component
- manage your component with the help of the Component Manager
- make your component available for use by applications
Subtopics
- The Structure of a Component
- Handling Requests for Service
- Defining a Component's Interfaces
- Managing Components