Re: Registering in ROT with ROTFLAGS_ALLOWANYCLIENT



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
>


.



Relevant Pages

  • Re: Further comment regarding misreading of post
    ... You never registered your object in the ROT, ... server is running. ... >> Microsoft MVP, MCSD ... >>> The server calls CComModule::RegisterClassObjects() to register the ...
    (microsoft.public.win32.programmer.ole)
  • Re: Now on 8.2.03i Re: Xilinx ISE ver 8.2.02i is optimizing away and removing "redundant" logic -
    ... signal transitions before its clock edges, ... In that, post-map, the lower three bytes of the second register are ... the calling module and in the signals used in the submodule. ... registered your design, but you haven't pipelined the design which will ...
    (comp.arch.fpga)
  • Re: Forth and OO design?
    ... cell circular data stack ... return stack index register ... No, that is not design. ... language which became the bastardized basis of Javascript. ...
    (comp.lang.forth)
  • Re: How does this make you feel?
    ... > instruction was added that allowed you to, for instance, extract a column ... >> + Maybe C and UNIX distorted CPU design, ... > supporting interrupts efficiently was a design goal for the transputer. ... behaviour of a conventionally conceieved register. ...
    (comp.arch)
  • Re: Unassigned register decode
    ... with the exception of the very first package containing ... file for the new design now breaks things for the old design which still ... Ummm....the reason one has read/write ports in a design in the first place ... register list length are not limited by something in the package. ...
    (comp.lang.vhdl)