[Bug 45212] VB6 program IFs closes with "Run-time error '-2147417848 ( 80010108)': Automation error"
wine-bugs at winehq.org
wine-bugs at winehq.org
Tue May 22 15:32:20 CDT 2018
https://bugs.winehq.org/show_bug.cgi?id=45212
--- Comment #24 from Fabian Maurer <dark.shadow4 at web.de> ---
Created attachment 61480
--> https://bugs.winehq.org/attachment.cgi?id=61480
Hack that makes all dll segments writeable
Good news, I found a hack.
Somewhere inside dao360, it tries to load the database - and for that it uses a
string "[ESRI Countries]" from inside the .text segment of IFsGUIprj.ocx.
It replaces the last character of this string with '\0', and then ']' again
multiple times, no idea why though. If you make the memory writeable, the
program seems to work just fine.
See the attached hack/patch to test it yourself.
Maybe the .ocx should be loaded as writeable? Or something else is wrong. Will
continue to investigate.
--
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