RAD Studio |  |

Writing Client Code Based On Type Library Definitions
See Also
Collapse All

Although you must use a component wrapper for hosting an ActiveX control, you can write an Automation controller using only the definitions from the type library that appear in the TypeLibName_TLB unit. This process is a bit more involved that letting a component do the work, especially if you need to respond to events.

The following topics describe how to implement the various actions your Automation controller needs to perform:

- Connect to the server.
- Control the Automation server using a dual interface.
- Control the Automation server using a dispinterface.
- Respond to events generated by the Automation server.

See Also

Using Component Wrappers

Creating Clients for Servers That Do Not Have a Type Library

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!