OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Syed.Alam (Syed.AlamTARGET.COM)
Date: Wed May 22 2002 - 12:52:37 CDT

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

    Well, u can always modify the class factory of singleton com server. In this
    case, u dont want to return IClassFactory or any object's interface to the
    client if no COM object has been initiated yet.

    Second, u can always deny launch rights to all/some clients based on User
    groups/ID.

    -----Original Message-----
    From: Murat Emrah Özdemir [mailto:muratemrahHOTMAIL.COM]
    Sent: Wednesday, May 22, 2002 12:44 PM
    To: DCOMDISCUSS.MICROSOFT.COM
    Subject: Re: Accessing ROT of a Remote Machine

    CoCreateInstanceEx is not proper for me. I don't want to connect server when
    server is not running. CoCreateInstanceEx run the server if server is not
    running. For this purpose I create the Singleton COM object in the Final
    Construct of my COM Class, the I register it into Running Object Table. My
    Client query the Running Object Table, if it finds the object, it connect,
    otherwise it returns.

    ----- Original Message -----
    From: "Syed.Alam" <Syed.AlamTARGET.COM>
    To: <DCOMDISCUSS.MICROSOFT.COM>
    Sent: Wednesday, May 22, 2002 6:55 PM
    Subject: Re: Accessing ROT of a Remote Machine

    Just wondering ...what is the problem in using CoCreateInstanceEx?

    -----Original Message-----
    From: Murat Emrah Özdemir [mailto:muratemrahHOTMAIL.COM]
    Sent: Wednesday, May 22, 2002 9:42 AM
    To: DCOMDISCUSS.MICROSOFT.COM
    Subject: Accessing ROT of a Remote Machine

    Hello...

    How can I connect client to the server (which is on remote machine).
    My COM object is Singleton, and it is registered into Runnig Object Table. I
    can easily connect the client to the server with using GetActiveObject
    method. But As far as I know GetActiveObject couldn't be use on a remote
    machine. I try to find some document, I should use monikers for this
    purpose.

    I couldn't find enough document about file monikers. I will be gratefull if
    someone send me document, or sample code...

    Thanks...

    Murat Emrah Oezdemir
    I&S IT PS 33 Erl - IT Plant Solutions
    PCS & HMI Integrated Solutions
    Fax:+49 9131 744481
    GSM:+49 174 8400314
    Email: mailto:murat.oezdemirerl8.siemens.de
    Siemens AG, Werner v. Siemens Str. 60, 91052 Erlangen

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

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