This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: setup.exe CoCreateInstance error.
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