OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Steve Swartz (steveswMICROSOFT.COM)
Date: Fri Aug 10 2001 - 12:51:26 CDT

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

    If I understand your question, you need to use the CLCCTX flags in your
    call to CoCreateInstance to disallow local activation if you want to
    activate remotely. By default, COM will use the closest available server
    for a CLSID.

    -----Original Message-----
    From: Ron Lisle [mailto:rlisleSIGMATEL.COM]
    Sent: Friday, August 10, 2001 8:27 AM
    To: DCOMDISCUSS.MICROSOFT.COM
    Subject: Can a single .EXE be both Client and Server on remote machine

    I've created a DCOM .EXE that I would like to be able to selectively
    launch
    on either the local or specific remote machines. I'm using C++ with
    MFC.
    It appears that the Server launches locally regardless of my DCOMCNFG
    settings. Does anyone know if what I'm trying to do is even possible?

    Ron Lisle
    rlislesigmatel.com <mailto:rlislesigmatel.com>, www.sigmatel.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