[Bug 39275] Unhandled exception HtmlHelpA after starting Print Shop Deluxe 15

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Sep 17 02:32:30 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=39275

--- Comment #2 from Martin Fontaigne <martinrs at softhome.net> ---
I tried the patch but it didn't help. It turns out that strdupAtoW() already
checks null so there was no need for the patch, and the crash wasn't actually
happening there. The arguments were
HtmlHelpA(NULL,NULL,HH_SET_WIN_TYPE,data)

I eventually traced the problem to data->pszCustomTabs being sent as -1, and
that's where the crash was occurring, in wintypeAtoW()
strdupAtoW(data->pszCustomTabs).
I overrode with native hhctrl.ocx and the crash doesn't seem to occur. Maybe
it's an undocumented feature.

If I force data->pszCustomTabs=NULL, the program seems to continue without
problems, so maybe -1 is equivalent to NULL?

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list