[DUG] Apartment model - identifying calling process

Phil Middlemiss phil at tumonz.co.nz
Wed May 31 10:16:36 NZST 2006


I'm using the Apartment threading model for an out-of-process automation 
object.

Say the automation object has a method called AddLayer - is there any 
way, without requiring extra parameters to be passed, to identify which 
process is calling that method? That is, are there any COM methods to 
ask for an ID for the current caller using the COM object's thread?

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/20060531/b51ec6ff/phil.vcf


More information about the Delphi mailing list