I solved my own problem. As a Windows COM/ATL guy; I tend to take things for
granted. What I mean is I found out the hard way that "regsvr32"  and
"regxpcom" do not have the same behavior. For example, if I am at the
command prompt and in the same directory as my DLL I would type:

regsvr32 myDLL.dll

We know that this would register our DLL!

Now for XPCOM it is a little different story. If I type the following...

regxpcom myDLL.dll

This would fail with an error"8052001" - a path error. This took me a while
to figure out that it was a path error. I moronically thought that this was
becauase my DLL probably was not within the Component directory or some
other configuration issue.

With frustration I typed the following...

regxpcom c:\myDLLDirectory\myDLL.dll

... and guess what? It succeeded!



"Tom Lee" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi, Can anybody tell me what would cause this error. I try to register an
XP
> com DLL and I continue to get this error. I think it has to do with a path
> error but I am not sure.
>
>



Reply via email to