OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Anderson, Alan (Alan.AndersonGBR.XEROX.COM)
Date: Fri Jan 18 2002 - 03:59:49 CST

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

    This seems to be precisely what I require. Any idea what the interface is
    called and when SP3 is due?

    Thanks
    Alan.

    -----Original Message-----
    From: Steve Swartz [mailto:steveswMICROSOFT.COM]
    Sent: 17 January 2002 19:41
    To: DCOMDISCUSS.MICROSOFT.COM
    Subject: Re: Application Shutdown Interception

    In Windows 2000 SP3 and above, and in Windows XP and .NET Server, you
    can register an initialization component for a server application. The
    component needs to implement a specific interface with a "startup()" and
    "shutdown()" method. The method is called when the DllHost starts, and
    again when it stops. You cannot abort a shutdown from the shutdown()
    method, but you can slow it down or hold it until you've taken a good
    shot at allowing outstanding processing to finish.

    -----Original Message-----
    From: Anderson, Alan [mailto:Alan.AndersonGBR.XEROX.COM]
    Sent: Thursday, January 17, 2002 7:29 AM
    To: DCOMDISCUSS.MICROSOFT.COM
    Subject: Application Shutdown Interception

    Is there a standard way to intercept (and postpone) the application
    shutdown
    command in the component services snapin? I just want to be absolutely
    certain that all processing is complete prior to my application shutting
    down.

    After searching MSDN I found an OnAppForceShutdown event, but my
    understanding of events is that this is simply a notification and does
    not
    wait for the event handler(s) to complete.

    Thanks
    Alan.

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