OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Philip W. Bowden (pbowdenCODEPOET.ORG.UK)
Date: Sun Sep 02 2001 - 15:22:01 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Is there anyway that an apartment can tell how many objects still exist
    in it. I have an architecture where certain objects are always created
    in a new STA, and the thread pushes execution through the object
    "regularly". I need to know when I can bring down the thread. I can't do
    this then the object in it dies as it might have created another object
    in the apartment, and passed an interface pointer out to another
    apartment. I really need to know when all the objects in it have gone.
    How do I do that?

    Cheers

    Phill

    Phill Bowden - pbowdencodepoet.org.uk

    ----------------------------------------------------------------
    Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
    contains important info. Save time, search the archives at
    http://discuss.microsoft.com/archives/index.html .
    To unsubscribe, mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM