Board index » delphi » IDispatch - Invalid class typecast error ??
Anonymous
Delphi Developer |
Tue, 07 Oct 2003 22:12:04 GMT
IDispatch - Invalid class typecast error ??
Hello to all,
I'm having some troubles with an Automation object. It's typed as TInitialiser = class(TAutoObject, IInitialiser) and implements the IInitialiser interface. I want to create an instance of Set init=CreateObject("MyDLL.Initializer") which requires the object to implements to implement IDispatch. Initially I I also reviewed the flags on the interface, they only specify the "Ole Any help will be appreciated! Regards, |