Is TUMONZ an out of process OLE object? If so, then the instance is of no use to you as it only refers to a stub. I don't understand why you need to get hold of it, as surely you can store an instance of the interface in the object?
----- Original Message ----- From: "Phil Middlemiss" <[EMAIL PROTECTED]>
Sent: Monday, May 29, 2006 2:00 PM
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.
_______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
