This class acts as the host for the ActiveX control. It provides a list of the available properties, methods and events. It allows you to get and set properties, call methods and sink events via the OnEvent event handler. Now will also allow you to create a control that isn't registered via the filename and the GUID.
This class acts as a wrapper around the WinAPI functions for accessing type libraries
This ZIP file contains these three classes and an example application
I wrote this using Delphi 7 and it won't compile in Delphi 5. This is because the methods StandardEvent and InvokeEvent are private in TOleControl in Delphi 5. In Delphi 7, these are now protected and virtual. So you have two options if you want to compile this in Delphi 5. You can copy OleCtrls.pas to your project directory and make the two methods protected and virtual. Alternatively, if you don't care about events, then comment out the code