Hi all,
My application compiles fine with Win32 and runs fine, but for x64 it compiles fine but crashes on:
Code:
CMainFrame* pMainFrame = new CMainFrame;
if (!pMainFrame->LoadFrame(IDR_MAINFRAME)) return FALSE;
I find that when I comment out the following code in int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct):
Code:
m_coolmenu.Install(this);
static UINT toolbars[] = {IDR_MAINFRAME,IDR_MAINFRAME2,IDR_FORMATBAR};
m_coolmenu.LoadToolbars(toolbars, 3);
The program at least starts up. So I suspect something is just not loaded correctly. How to find out what the problem is?