Porting and Upgrading Programs
Porting means opening an application for the first time in Visual C++. Upgrading means opening in the current version of Visual C++ a project that was created in an earlier version.
An ActiveX control compiled by using Visual C++ 6.0, when embedded in a dialog box in a project developed by using Visual C++ 2010, may cause your program to assert at run time. In this situation, open the ATL or MFC project associated with the ActiveX control in Visual C++ 2010, and recompile it.. The assert will be in the file occcont.cpp, on this line in source: ASSERT(IsWindow(pTemp->m_hWnd)).