HI everybody
My apps call .CHM files from FTN95 via a MSVS C DLL. It has work flawlessly for many year son XP/win 7 (32 & 64). It crashes when the apps are used on win8/8.1/10 (apPs work so long as help disabled)
ftn95 call CALL HTML_HELP(' ', 0, HH_INITIALIZE, IHELP_COOKIE)
C code
extern 'C' int __declspec(dllexport) HtmlHelpX(int* help_handle, char* help_topic, int* help_command, int* help_data) {
HWND help_handlex = HWND(*help_handle);
LPCSTR help_topicx = help_topic;
UINT help_commandx = (UINT)(*help_command);
DWORD help_datax = (DWORD)(*help_data);
HWND hdlx;
hdlx = HtmlHelp(help_handlex, help_topicx, help_commandx, help_datax);
return (int)hdlx;
}
The C code is too much my for my 1-dimensional fortran brain. Im assuming that is the 32 vs 64 bit issue
any pointers appreciated
TIA
steve