Register your product to gain access to bonus material or receive a coupon.
Microsoft COM is prevalent throughout Windows operating systems—95, 98, NT-and is rapidly becoming the programming framework of choice. To build applications which interface with Windows systems, programmers must understand and learn to use COM. This book includes coverage of DCOM, Microsoft¿s distributed architecture that is based on COM. It will also covers the latest developments in Delphi 5. This book will teach COM programming to Delphi 4 and 5 programmers. After providing an understanding of the COM framework, it offers a practical exploration of COM to enable Delphi developers to program component-based applications. Typical real-world scenarios, such as Windows Shell programming, automating Microsoft Agent, and creating and using ActiveX controls, will be explored. Discussion of each topic will be illustrated with detailed examples.
Introduction.
Who This Book Is For. How This Book Is Organized. Conventions Used in This Book. About COM.
Defining Interfaces. Declaring an Interface. Implementing an Interface. Programming with Interfaces. Advanced Interface Issues. Summary.
GUIDs and COM. In-Process COM Servers. Out-of-Process COM Servers. Variant Arrays. Using COM Objects with Other Languages. Summary.
Type Libraries Defined. Creating a Type Library with Delphi. Creating a Type Library Viewer. Interpreting Enumerations. Summary.
Defining Automation. In-Process Automation Servers. Out-of-Process Automation Servers. COM Events and Callbacks. Automating Microsoft ADO. Summary.
Using Existing ActiveX Controls in Delphi. Creating ActiveX Controls. ActiveForms. Summary.
DCOM Basics. Programming with DCOM. Implementing Remote Datasets with DCOM. Summary.
Defining Structured Storage. Programming with Structured Storage. Example: Using Structured Storage Files in Your Applications. Summary.
OLE Property Sets. Compound Documents and OLE Containers. Summary.
Context Menu Handlers. Copy Hook Handlers. Shell Links. Tray Icons. Property Sheet Handlers. Where to Go from Here.
Delphi Programming. COM/OLE.