title: MFC WebBrowser.Navigate error "A null reference pointer was passed to the stub."
body: <p>In an c++ MFC Application, I have a WebBrowser embedded in the form.  It was imbedded in the form via the "Insert ActiveX Control..." dialog and then I created the IDispatch wrapper class and added a variable.  </p>
  
  <p>These are the instructions I was following: </p>
  
  <p><a href="http://msdn.microsoft.com/en-us/library/aa752046(v=vs.85).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/aa752046(v=vs.85).aspx</a></p>
  
  <p>After a few times of the dialog being created and destroyed, I am receiving a the error "A null reference pointer was passed to the stub." when I call the following:</p>
  
  <pre><code>m_browser-&gt;Navigate( _T("about:blank"), NULL, NULL, NULL, NULL );
  </code></pre>
  
  <p>Unfortunately, I can't recreate this and niether can my QA department (just the clients supposedly Win 7 x64, being called from a win32 application).</p>
  
  <p>Is there something wrong with this approach or am I missing something altogether?</p>
  
  <p>Thanks</p>