In the Release mode, my program runs fine, no major problems!
I am getting some runtime errors which are only occuring in the "Debug" configuration. The program compiles fine in Debug mode.
I see a message box ->
Debug Assertion Failed!
Program: <program name="">
File: winocc.cpp
Line: 330
Sequentially debugging, led me to this in doctempl.cpp
if (!pFrame->LoadFrame(m_nIDResource,
WS_OVERLAPPEDWINDOW | FWS_ADDTOTITLE,
NULL, &context))
{
TRACE(traceAppMsg, 0, "Warning: CDocTemplate couldn't create a frame.\n");
return NULL;
}
This is where the assertion pops up.
In the linker, these are my additional library dependies. Is something wrong here?
d3d9.lib strmiids.lib ole32.lib winmm.lib psapi.lib user32.lib
Any idea what I am doing wrong?
Thanks.