> I have an ActiveX component that I want to use in a library that I am
> writing. As a first test I used the ActiveX component in a windows
> form application. Adding the component created:
>
> Ax[ActiveXName].dll
> [ActiveXName].dll
This looks like an ActiveX control. Is that what it is -- or is it an
ActiveX DLL? Two different things.
> I can not call the functions in the ActiveX component.
Can you clarify that some more?
> In the next
> step I tried to use the ActiveX component in a class library. I simply
> added a reference to the corresponding COM component. This this only
> [ActiveXName].dll was created. I assume this is ok because the
> Ax...dll is just wrapping the component in a control (which I don't
> need).
If I recall, you're going to have a difficult time using a wrapped
ActiveX control in a class library since an ActiveX control is usually
designed to be hosted on a windows form that has a standard windows
message pump running. Without that message pump, the ActiveX control
will not work properly inside a class library.

Signature
Patrick Steele
http://weblogs.asp.net/psteele
Have you registered the ActiveX object? You'll need to do so before it will
allow instantiation.

Signature
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
OWC Black book on Amazon and
www.lulu.com/owc
>I have an ActiveX component that I want to use in a library that I am
> writing. As a first test I used the ActiveX component in a windows
[quoted text clipped - 35 lines]
>
> Thanks