OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: DeRemer, Bob (Bob.DeremerWONDERWARE.COM)
Date: Mon Jun 25 2001 - 05:31:59 CDT

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

    Great! Thanks for the clarification.

    -----Original Message-----
    From: Steve Swartz [mailto:steveswMICROSOFT.COM]
    Sent: Saturday, June 23, 2001 3:07 PM
    To: DCOMDISCUSS.MICROSOFT.COM
    Subject: Re: COM+ and REGCLS_SINGLUSE [is it possible?]

    No, I meant you create a DCOM "wrapper" server class set up as
    singleuse. You implement a method on an interface on that class that
    turns around and creates a COM+ component, and passes the resulting
    interface back to the caller. The COM+ component is in a library
    application, so that it's created in the process that was created (in
    turn) when you activated the DCOM wrapper outofproc class.

    -----Original Message-----
    From: DeRemer, Bob [mailto:Bob.DeremerWONDERWARE.COM]
    Sent: Thursday, June 21, 2001 12:54 PM
    To: DCOMDISCUSS.MICROSOFT.COM
    Subject: Re: COM+ and REGCLS_SINGLUSE [is it possible?]

    In other words, what you're saying is that people implement the desired
    COM+ interfaces in a DCOM server, set them up to be REGCLS_SINGLEUSE,
    then write the COM+ interfaces to call the DCOM version. Is this
    correct?

    Thanks,
    Bob

    -----Original Message-----
    From: Steve Swartz [mailto:steveswMICROSOFT.COM]
    Sent: Thursday, June 21, 2001 3:14 PM
    To: DCOMDISCUSS.MICROSOFT.COM
    Subject: Re: COM+ and REGCLS_SINGLUSE [is it possible?]

    In Windows XP and Windows .NET Server, you can do this by setting the
    "application pool" to a huge number. That will effectively force each
    instance into its own process (so long as you don't try to start more
    instances than the size of the application pool).

    In Windows 2000, I've seen people do this by writing a SINGLEUSE COM
    component than hands back COM+ components implemented in the COM
    component's process. It's a little roundabout, but it works.

    ----------------------------------------------------------------
    Users Guide http://msdn.microsoft.com/workshop/essentials/mail.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://msdn.microsoft.com/workshop/essentials/mail.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