Interop.xxx.dll vs AxInterop.xxx.dll

C

Chris Dunaway

I recently referenced a COM (ActiveX?) dll in my project. .Net seemed to
create two wrappers for it: Interop.xxx.dll and AxInterop.xxx.dll. Why
did it create two and what is the difference between them? Do I need both
of them?

Thanks,
 
R

Robin Tucker

The ordinary interop.xxx.dll is purely an automation wrapper (I think),
enabling you to manipulate the object within the namespace of your program.
The second "Ax" is a control wrapper for a windowed Active-X control.

Corr, correct me if I'm wrong ;)
 
C

Chris Dunaway

The ordinary interop.xxx.dll is purely an automation wrapper (I think),
enabling you to manipulate the object within the namespace of your program.
The second "Ax" is a control wrapper for a windowed Active-X control.

The .dll in question is a control that can be dragged onto the form. If I
do not use it in this manner and just create the objects manually in code,
do I still need both files?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top