Interop.xxx.dll vs AxInterop.xxx.dll

  • Thread starter Thread starter Chris Dunaway
  • Start date Start date
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,
 
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 ;)
 
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?
 
Back
Top