title: Exception of type 'System.Windows.Forms.AxHost+InvalidActiveXStateException' was thrown
body: <p>I am getting an error in my simple project.</p>
  <p>This is my code:</p>
  <pre><code>if (axZKFPEngX1.InitEngine() == 0) {
      label1.Text = &quot;Connected&quot;;
  }
  else {
      label1.Text = &quot;Connection Failed&quot;;
  }
  </code></pre>
  <p>I already added reference composites <code>AxInterop.ZKFPEngXControl</code> and <code>Interop.ZKFPEngXControl</code>.</p>
  <p>While debugging, I click the button, and a warning appears:</p>
  <blockquote>
  <p>InvalidActiveXStateException was handled.</p>
  <p>&quot;Exception of type 'System.Windows.Forms.AxHost+InvalidActiveXStateException' was thrown&quot;**</p>
  </blockquote>