OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: ArunKumar (akumarOMNESYSINDIA.COM)
Date: Wed Feb 13 2002 - 07:58:46 CST

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

    jeez i have same kinda setup but using messages to signal threads
    to exit of their own -

    what kindof apartments do u use ?

    ----- Original Message -----
    From: "Charles Gamble" <Charles.GambleSINGULARITY.CO.UK>
    To: <DCOMDISCUSS.MICROSOFT.COM>
    Sent: Monday, February 11, 2002 4:40 PM
    Subject: FW: RPC Call failed after killing thread

    > Anyone have any ideas on this one?
    >
    > Steve Swartz?
    >
    > Thanks for the help,
    > Charles.
    >
    >
    > -----Original Message-----
    > From: Charles Gamble [mailto:Charles.GambleSINGULARITY.CO.UK]
    > Sent: 24 January 2002 15:11
    > To: DCOMDISCUSS.MICROSOFT.COM
    > Subject: RPC Call failed after killing thread
    >
    >
    > Hi all,
    >
    > I have an EXE which is used to create threads which talk to MTS
    components.
    > My problem is this:
    > Sometimes I need to kill threads in the EXE which are in-call to an MTS
    > component. (I only use one package, so there is only one MTX.EXE)
    > When the thread in MTX.EXE which was in-call then dies later on and tries
    to
    > return to my EXE, the first call I then try to make to an MTS component
    from
    > a new thread in my EXE fails with the error 800706be: The remote
    procedure
    > call failed.
    >
    > If I just try to make the call again, it works fine.
    > Why does this happen for the first call into the MTX.EXE from my EXE?
    > Note it only happens after the thread which was previously in call in MTS
    > tries to return to the killed thread in my EXE.
    > I have tried calling MTS from another process but this problem only occurs
    > in the EXE which I had previously killed the in-call thread.
    >
    > Thanks for this.
    > Charles.
    >
    > ----------------------------------------------------------------
    > 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
    >
    > ----------------------------------------------------------------
    > 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

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