function CreateOleObject(const ClassName: string): IDispatch;
Instantiates an Automation object.
CreateOleObject returns a reference to the interface