Table of ContentsPython and COM Tutorial Agenda Introduction to COM COM/OLE and ActiveX What is a COM interface? IUnknown Custom interfaces Objects vs. Interfaces CLSIDs, GUIDs, UUIDs, IIDs Registering Objects Creating Objects C++ Pseudo Code Custom Interface Example1 of 2 Custom Interface Example2 of 2 IDispatch - poor man’s COM1 of 2 IDispatch - poor man’s COM2 of 2 Core InterfacesIntroduction Core InterfacesEnumerators Core InterfacesCollections Core InterfacesStreams and Storage Core InterfacesMonikers Core InterfacesConnectionPoints Core InterfacesAnd the Rest Error Handling PythonCOM Framework PythonCOM Framework PythonCOM Extensions Using Python as a COM client Python COM ClientsThe Problem Python COM ClientsThe Answer PythonCOM Interfaces1 of 3 PythonCOM Interfaces2 of 3 PythonCOM Interfaces3 of 3 IDispatch vs. vtable IDispatch Implementation Dynamic IDispatch Implementation1 of 5 Dynamic IDispatch Implementation2 of 5 Dynamic IDispatch Implementation3 of 5 Dynamic Dispatch Implementation4 of 5 Dynamic Dispatch Implementation5 of 5 Static Dispatch Implementation1 of 4 Static Dispatch Implementation2 of 4 Static Dispatch Implementation3 of 4 Static Dispatch Implementation4 of 4 Dispatch, VARIANTs and Python Types Dispatch, VARIANTs and Python Types win32com.client Files1 of 2 win32com.client Files2 of 2 Client Side Error Handling1 of 2 Client Side Error Handling2 of 2 SWIG and COM Client Interfaces1 of 3 SWIG and COM Client Interfaces2 of 3 SWIG and COM Client Interfaces3 of 3 Using Python as a COM server Python COM ServersThe Problem Gateways1 of 2 Gateways2 of 2 Gateways3 of 3 Calling Python Methods Policies1 of 2 Policies2 of 2 Instantiation1 of 3 Instantiation2 of 3 Instantiation3 of 3 The Default Policy A Quick Example Useful Attributes Wrapping1 of 3 Wrapping2 of 3 Wrapping3 of 3 Error Handling1 of 3 Error Handling2 of 3 Error Handling3 of 3 Collections1 of 3 Collections2 of 3 Collections3 of 3 Enumerators1 of 3 Enumerators2 of 3 Enumerators3 of 3 Server Utilities win32com.server.connect win32com.server.exception win32com.server.policy win32com.server.register win32com.server.register Example win32com.server.util win32com.makegw Advanced Topics Advanced: Dispatchers1 of 2 Advanced: Dispatchers2 of 2 Advanced: Wrapping1 of 5 Advanced: Wrapping2 of 5 Advanced: Wrapping3 of 5 Advanced: Wrapping4 of 5 Advanced: Wrapping5 of 5 Advanced: Custom Policies1 of 7 Advanced: Custom Policies2 of 7 Advanced: Custom Policies3 of 7 Advanced: Custom Policies4 of 7 Advanced: Custom Policies5 of 7 Advanced: Custom Policies6 of 7 Advanced: Custom Policies7 of 7 Advanced: Threading1 of 2 Advanced: Threading2 of 2 Futures Future Directions Future: Auto Wrapping Future: COM+1 of 3 Future: COM+2 of 3 Future: COM+3 of 3 Future: SWIG Future: makepy |
Author: Mark Hammond and Greg Stein
Home Page: ../../win32com Other information: |