[DUG] COM object question

Phil Middlemiss phil at tumonz.co.nz
Mon May 29 14:00:24 NZST 2006


How do I get hold of an instance of an automation object?

I've created an automation object class, interface, type library etc by 
using the Delphi Automation Object wizard (D6). Works fine. In the unit 
that implements the interface, the initialization section has got the 
TAutoObjectFactory.Create call. If I create the appropriate coClass in 
another app it does the right thing and starts TUMONZ and I can start 
calling methods on the automation object.

But how do I get hold of that automation server object in the server 
app? In the server app I want to pass it an interface to talk to when 
it's methods are called.

Cheers,
Phil.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: phil.vcf
Type: text/x-vcard
Size: 250 bytes
Desc: not available
Url : http://ns3.123.co.nz/pipermail/delphi/attachments/20060529/66414033/phil.vcf


More information about the Delphi mailing list