title: Intellisense auto-complete is causing VC++ in Visual Studio 2005 SP1 to crash
body: <p>UPDATE1: I have reinstalled Visual Studio and I am still having this problem. My guess is there is a problem with my environment.</p>
  
  <p>Update2: Diving in. 
  I attached windbg to devenv and set a breakpoint in windbg for msenv!_tailMerge_WINMM_dll and traced through. </p>
  
  <p>This is trying to load winmm.dll using the LoadLibrary API. I can see that LoadLibrary is failing and GetLastError is returning 5 which is "access denied".</p>
  
  <p>now, why would vs be denied access to winmm.dll?</p>
  
  <p>---Begin Original---</p>
  
  <p>I am currently having a serious issue with Visual Studio 2005 SP1 Intellisense in C++. I have an all native solution with on project. Whenever I, or the editor, attempt to invoke intellisense auto-complete pow, Visual Studio crashes. I even tried this with a brand new console app. <kbd>Ctrl</kbd> + <kbd>Space</kbd> in the empty main and Visual Studio crashes.</p>
  
  <p>I googled for help on this but to no avail. I have tried deleting the ncb file but no luck on that front either.</p>
  
  <p>I am currently working with Intellisense turned off as shown in this article:
  <a href="https://stackoverflow.com/questions/69729/visual-studio-2005-updating-intellisense-hang-up">Visual Studio 2005 - &#39;Updating IntelliSense&#39; hang-up</a></p>
  
  <p>And I have no crashes, but it sure would be nice to have intellisense back</p>
  
  <p>Call stack from a crash dump. </p>
  
  <pre><code>7c812a6b kernel32!RaiseException+0x53
  502717a6 msenv!__delayLoadHelper2+0x139
  50675186 msenv!_tailMerge_WINMM_dll+0xd
  505ac3c3 msenv!CTextViewIntellisenseHost::UpdateCompletionStatus+0x1a7
  505acb50 msenv!CEditView::UpdateCompletionStatus+0x30
  505dcfad msenv!CEditView::CViewInterfaceWrapper::UpdateCompletionStatus+0x2a
  02ae47fc vcpkg!CCompletionList::DoCompletion+0x444
  02ade2ce vcpkg!CAutoComplete::PostProcess+0x240
  02ade07f vcpkg!CAutoComplete::OnACParseDone+0x3e
  02adac2d vcpkg!CMemberListWorkItem::OnCompleted+0x9d
  029eb4e3 vcpkg!CWorkItem::ProcessPendingWorkItemCompletedCalls+0x117
  029f8b4f vcpkg!CParserManager::OnIdle+0x183
  0299961a vcpkg!CVCPackage::OnIdle+0x48
  5014b288 msenv!ATL::CComAggObject&lt;CTextBuffer&gt;::QueryInterface+0x43
  5a9d2394 VCProject!ATL::CComPtr&lt;IOleInPlaceFrame&gt;::~CComPtr&lt;IOleInPlaceFrame&gt;+0x24
  5a9d2880 VCProject!ATL::CComObject&lt;CVCArchy&gt;::Release+0x10
  774fd420 ole32!CRetailMalloc_GetSize+0x21
  5009422b msenv!CMsoCMHandler::FContinueIdle+0x23
  5009422b msenv!CMsoCMHandler::FContinueIdle+0x23
  </code></pre>