Reputation: 8605
When you create a type library in Delphi and create an interface and the associated CoClass, Delphi also creates matching dispinterface declarations.
My understanding is that these relate to the fact that my interface derives from IDispatch, but I thought that TAutoObject implements everything needed for IDispatch. So my question is threefold:
Upvotes: 6
Views: 4808
Reputation: 13572
TechVanguards.com is Delphi & COM website with really good content. It have tutorials and some advanced examples.
You'll find informations about disp interfaces and examples how to work with them.
Upvotes: 2
Reputation: 11211
COM is like VOODOO you should only get involved if you are willing to be consumed by its power!
COM really is an enormously complicated subject when you get down to the nitty gritty. However on the surface an implementation like Delphis gives you all the tools you need to use it very simply. However if you are interested in getting down and dirty there are some very good books on COM including (from a Delphi perspective) Delphi Com Programming.
To really simplify and try to answer your questions.
Upvotes: 6