title: How to use ActiveX component in ClassLibrary without Winforms
body: <p>How is it possible to use an ActiveX control in a ClassLibrary type project?</p>
  
  <p>I intend to call it later from WPF application but I don't want to place a control anywhere on the form, so I don't want to use <code>WindowsFormsHost</code>; mainly because I would like to use this my library in Console App and Windows Service.</p>
  
  <p>In this case, the ActiveX control I want to use is a video analysis component.
  Additionally I want my component to register itself in deployed environment.</p>