[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ms-dcom
Subject:    Re: dcomcnfg and the registry
From:       "Maju Kuruvilla (IE10)" <Maju.Kuruvilla () HONEYWELL ! COM>
Date:       2000-11-29 5:33:41
[Download RAW message or body]


Hi,

        If you are using a CoCreateInstanceEx in the client code , you can
pass the remote machine name in COSERVERINFO structure. You don't have to
make any changes using dcomcnfg(or registry) in the client machine.

rgds,
maju

-----Original Message-----
From: Joe Becknell II [mailto:joe@CURRICULUM.COM]
Sent: Tuesday, November 28, 2000 9:07 PM
To: DCOM@DISCUSS.MICROSOFT.COM
Subject: dcomcnfg and the registry


I've created a DCOM application and need to modify it via dcomcnfg so that
it executes on a remote machine. In dcomcnfg I need to:

Under applications->properties->location:

(1) uncheck the Run application on this computer box.
(2) check the Run application on the following computer box.

I would like to determine just what the above steps involve in regards to
modifying the registry. I would like to handle this during my installation
process so that the end user does not have to interactively run dcomcnfg. I
think I have the second step figured out (per MSDN), it creates the
following registry entry:
HKEY_CLASSES_ROOT\AppID\{AppID_value}\RemoteServerName = server_name

However, I still cannot figure out how to tell the DCOM server not to run on
the local machine, which it still tries by default. Ideas ??

Any information would be helpful.
Thanks,

========================================
Joe Becknell
Curriculum Corporation
joe@curriculum.com
http://www.curriculum.com
========================================

----------------------------------------------------------------
Users Guide http://msdn.microsoft.com/workshop/essentials/mail.asp
contains important info including how to unsubscribe.  Save time, search
the archives at http://discuss.microsoft.com/archives/index.html

----------------------------------------------------------------
Users Guide http://msdn.microsoft.com/workshop/essentials/mail.asp
contains important info including how to unsubscribe.  Save time, search
the archives at http://discuss.microsoft.com/archives/index.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic