Re: DCOMCNFG for CE.NET is a library not an exe?



Hey John,

Please check-in your fix man. I'm using Windows CE 5.0 and the problem is
still there!! :-) Glad I found this post.

Best regards!
Mello

"John Spaith [MS]" wrote:

> You've found a bug in dcomcnfg. Sorry about that. In dcomcnfg.cxx function
> GetRegistry (void) (around line 577 in latest source code), we read in a
> bunch of stuff from DCOM related registry and then do this sanity check at
> the end
>
> if ((! lreg.pAppIDList) || (! lreg.pCLSIDList)) {
> // fail - print out error message since there's nothing to display
> }
>
> The code should read like follows:
> if ((! lreg.pAppIDList) && (! lreg.pCLSIDList)) {
> // Need both to be NULL before we gripe
> }
>
> I made the fix on my private build and dcomcnfg works fine for me now. I'll
> get this fixed for real in the next version of the OS where we ship
> dcomcnfg, but for now you can make this change in the code yourself and then
> rebuild and resysgen.
>
>
> --
> John Spaith
> Software Design Engineer, Windows CE
> Microsoft Corporation
>
> Check out the new CE Networking Team Blog at http://blogs.msdn.com/cenet/.
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
> You assume all risk for your use. © 2003 Microsoft Corporation. All rights
> reserved.
>
> "Mike" <Mike@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:C41ADC65-2BB4-4B96-9704-CAC50CC2C583@xxxxxxxxxxxxxxxx
> > yup, that worked. Now I have a an exe, but when I run it it says
> >
> > "No registration information available"
> >
> > Do you know what this means?
> >
> > The PB docs say I need to run DCOMCNFG so I could configure DCOM but now
> > I'm
> > real confused... I'm trying to enumerate the ROT for my COM server DLL
> > but
> > I got E_NOTREGISTERED so I thought this would help..
> >
> > Mike
> >
> >
> >
> > "Mike" wrote:
> >
> >> The PB 4.2 documentation says the DCOMCNFG utility equivalent for CE is
> >> provided in the DCOM samples section. I tried building it from the
> >> cmdline in
> >> PB4.2 but it ends up building a library not an exe. How do I get an exe
> >> so
> >> that I can set my access for DCOM?
> >>
> >> Mike
> >>
>
>
>
.



Relevant Pages