Next: Using GNAT COM objects as Distributed COM objects, Previous: Creating Type Libraries for COM objects [Contents][Index]
| • The COM object implementation: | ||
| • InProc container implementation: | ||
| • LocalServer container implementation: |
COM objects are contained in DLLs, known as InProc Servers, or in EXEs, known as Local Servers. Containers may house more then one object and use clearly defined methods of exposing the objects to the operating system and publishing their existence in the system registry. The complete example is found in the COMObject directory.
The implementation of the COM objects are identical regardless of the container type, but the methods for publishing their existence and exposing of the factory object that creates the COM objects are different.