OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Amar (Amarjeet.singhKLA-TENCOR.COM)
Date: Wed Mar 06 2002 - 02:21:34 CST

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

    Hi All,
    I am creating a object in MainSTA and then I am creating thread and
    marshalling interface pointer by calling HRESULT hr =
    CoMarshalInterThreadInterfaceInStream(__uuidof(IRFT),pUnk,&pStream);

    and unmarshalling pointer by calling HRESULT hr =
    CoGetInterfaceAndReleaseStream((pTransfer->pStream),__uuidof(IRFT),(LPVOID
    *)&spRFT);
    in each of the threads.

    When the created thread tries to return, it hangs there and wait for single
    object never gets over.
    ???
    Thanks.
    Amar.

    ----------------------------------------------------------------
    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