
ATL COM DLL :: DllRegisterserver throw exception 0x80029c4a
.rc file should contain a line similar to
1 TYPELIB "ProjectName.tlb"
Also, you should be able to open your DLL in OLE/COM Object Viewer and
see the definitions from IDL.
--
With best wishes,
Igor Tandetnik
"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken
Quote:
> How i will make sure that TLB linked to DLL or not ??
> I m getting tlb file. IDL and .rc are fine . I recompiled IDL as well.
> Thanx,
> -- JItendra
> > If your server does not supply nor use a TLB, change this line to
> > RegisterServer(FALSE). Otherwise recompile IDL file, check that it
has
> > library block, make sure TLB gets built successfully. If OK, check
.rc
> > file, make sure TLB gets linked to the DLL.
> > --
> > With best wishes,
> > Igor Tandetnik
> > "For every complex problem, there is a solution that is simple,
neat,
> > and wrong." H.L. Mencken
> > > Hi,
> > > I had an ATL DLL , used to perform self registration at
compile
> > time.
> > > But suddenly , it stopped registrying. Now DllRegisterServer(...)
> > method is
> > > throwing error code : 0x80029c4a which means :: "Error loading
type
> > > library/DLL. "
> > > This is wizard generated code ::=
> > > STDAPI DllRegisterServer(void)
> > > {
> > > // registers object, typelib and all interfaces in typelib
> > > return _Module.RegisterServer(TRUE);
> > > }
> > > Did i screwed up something by mistake .....
> > > Please help....
> > > Thanx,
> > > -- Jitendra