Re: Registering in ROT with ROTFLAGS_ALLOWANYCLIENT
- From: "Alexander Nickolov" <agnickolov@xxxxxxxx>
- Date: Wed, 11 May 2005 11:54:54 -0700
ROT is designed to be be registered into from EXEs, not
DLLs. Reconsider your design.
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@xxxxxxxx
MVP VC FAQ: http://www.mvps.org/vcfaq
=====================================
<franktko@xxxxxxxxxxx> wrote in message
news:1115743617.213164.273640@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi,
>
> In a post that was kindly pointed out to me by Brian Muth
> (http://groups.google.ca/group/microsoft.public.win32.programmer.ole/browse_thread/thread/5173370bede06ded/2e051a0baceeb247?q=CO_E_WRONG_SERVER_IDENTITY&rnum=18&hl=en#2e051a0baceeb247),
> Rhett Gong states that "Please note: ROTFLAGS_ALLOWANYCLIENT is only
> available for servers that run as a
> service, the interactive user, or a specific user".
>
> Is there any way around this?? The problem is that we register an
> object from within a MMC snapin and the MMC Application is already
> configured as the Launching user in dcomcnfg. If I change this setting
> to interactive user, then our call to register in the ROT works fine.
> When I leave it to Launching user, the call fails
> (CO_E_WRONG_SERVER_IDENTITY on Server 2003). But I don't want to change
> the MMC settings - I guess MS had its own reasons to set it up as
> Launching user...
>
> Thanks,
> Frank
>
.
- Follow-Ups:
- References:
- Registering in ROT with ROTFLAGS_ALLOWANYCLIENT
- From: franktko
- Registering in ROT with ROTFLAGS_ALLOWANYCLIENT
- Prev by Date: Re: IDL Parser
- Next by Date: Re: Registering in ROT with ROTFLAGS_ALLOWANYCLIENT
- Previous by thread: Registering in ROT with ROTFLAGS_ALLOWANYCLIENT
- Next by thread: Re: Registering in ROT with ROTFLAGS_ALLOWANYCLIENT
- Index(es):
Relevant Pages
|