title: Upgraded a VC++ 6 to Visual Studio 2010 - DoModal is failing
body: <p>I upgraded a VC++ 6 project and only one of the dialog's work. All the others end up getting an assertion error in occcont.cpp line 925 - ASSERT(IsWindow(pTemp->m_hWnd));</p>
  
  <p>This doesn't happen for all the controls it's trying to create for this dialog only 3 out of 56.</p>
  
  <p>I can't figure out what could be causing it. I'm running on Win 7 64 bit but the app is built for 32 bit.</p>
  
  <p>I tried running the .exe in XP SP2 compatibility mode but that didn't work.</p>
  
  <p>Could there be a setting I need to change for this? </p>
  
  <p>Also, can I view a form designer? I can't seem to locate any sort of option for it. I thought if I could bring up the designer it might provide some better insight.</p>