setup.exe CoCreateInstance error.

Dave Korn dave.korn.cygwin@googlemail.com
Wed Jul 1 11:46:00 GMT 2009


Corinna Vinschen wrote:

> Can you add debug code which checks the return code of the
> CoInitializeEx call in main.cc line 164?  Maybe that's already going
> wrong.

  Unfortunately no.  Happy return code zero.  I'm a security dork, so I
wondered if maybe something I've disabled was breaking it, so I fired up the
(normally disabled) DTC service, verified that DCOM was enabled using
dcomcnfg, and took a browse around in the component services MSC to make sure
it looked like it was working, but still no joy.

>  However, I don't know what to do besides of calling the
> functions in different places depending on the OS.  That really doesn't
> make sense.  I wish Microsoft had implemented a simple C function to
> create shortcuts, rather than providing only this COM nonsense.
> 
> Oh well, given that W7 is not yet RTMed, maybe the problem still goes
> away and the patch can be reverted.

  Would be good if it happens.  You gonna file a report with them?  (For all
the good that does :-/)

    cheers,
      DaveK



More information about the Cygwin-apps mailing list