noaaprogrammer
Programmer
When I select print preview in my application, I get an assertion error. When I debug, it gives me this code as the source of the problem:
For some reason, this assertion is being set off. Any ideas on how to fix this???
Code:
#ifdef _DEBUG
CObject* AFX_CDECL AfxStaticDownCast(CRuntimeClass* pClass, CObject* pObject)
{
ASSERT(pObject == NULL || pObject->IsKindOf(pClass));
return pObject;
}
#endif
For some reason, this assertion is being set off. Any ideas on how to fix this???