Visual C++ (at least V 5.0) notifies you with an "Assertion Failed" message in occcont.cpp that something is incorrect. This assertion is only in the debug build and results from the ATL library we used for this control.