I am integrating context specific help for my MFC winforms application. Calling following function crashes my application and hhctrl.ocx is the culprit as per crash log. I think the problem is with 64bit version of hhctrl.ocx in System32 bit folder since my application works fine in 32 bit mode. I tried registering both 32bit and 64bit ocx but that didn't help.
//added following line in InitInstance of application
DWORD m_dwCookie;
HtmlHelp(NULL, NULL, HH_INITIALIZE,(DWORD)&m_dwCookie);
I know this is very very old API for html help integration. Is there an alternate framework for helpfile integration into MFC application if I can't get around the issue?