Board index » delphi » Registering COM DLLs

Registering COM DLLs

I have some COM dll's that I am able to register on my 98 box, through
code, install shield, and regsvr32 all work. I take the same COM dll's
to my NT 4.0 box, and I can't register them either through code, install
shield, or regsvr32. Is it possible the dll's themselves have something
in them that won't work on NT? I can manually edit the registry on my NT
box, so I don't think its an access rights issue.

Any ideas on how to get these registered on my NT box?

srdan...@hotmail.com

 

Re:Registering COM DLLs


The return code I get from Regsvr32 is  0x80040154.

srdan...@hotmail.com

Quote
srdaniel wrote:
> I have some COM dll's that I am able to register on my 98 box, through
> code, install shield, and regsvr32 all work. I take the same COM dll's
> to my NT 4.0 box, and I can't register them either through code, install
> shield, or regsvr32. Is it possible the dll's themselves have something
> in them that won't work on NT? I can manually edit the registry on my NT
> box, so I don't think its an access rights issue.

> Any ideas on how to get these registered on my NT box?

> srdan...@hotmail.com

Re:Registering COM DLLs


Try to run your dll with regsvr32.exe as a host application (the name of your
dll should be the command line parameter) and see if you can spot where it fails
in the VCL ActiveX code.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool

Quote
"srdaniel" <srdan...@hotmail.com> wrote in message

news:3B8E85BE.864B59B6@hotmail.com...
Quote
> The return code I get from Regsvr32 is  0x80040154.

> srdan...@hotmail.com

> srdaniel wrote:

> > I have some COM dll's that I am able to register on my 98 box, through
> > code, install shield, and regsvr32 all work. I take the same COM dll's
> > to my NT 4.0 box, and I can't register them either through code, install
> > shield, or regsvr32. Is it possible the dll's themselves have something
> > in them that won't work on NT? I can manually edit the registry on my NT
> > box, so I don't think its an access rights issue.

> > Any ideas on how to get these registered on my NT box?

> > srdan...@hotmail.com

Re:Registering COM DLLs


This is either a dependency problem (your COM server depends on some other
type library) or a SP version issue.

--
have fun
Binh Ly
http://www.techvanguards.com

Quote
"srdaniel" <srdan...@hotmail.com> wrote in message

news:3B8E85BE.864B59B6@hotmail.com...
Quote
> The return code I get from Regsvr32 is  0x80040154.

Other Threads