http://bugs.winehq.org/show_bug.cgi?id=16320
Summary: gensdatapro application does not start Product: Wine Version: 1.1.9 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dekloe@zonnet.nl
The genealogical database program gensdatapro does install fine with wine. When accepting the default directories the executable is copied to: .wine/drive_c/GDPdemo/gdpdemo.exe
But as soon as I try to run it I get a pop-up window giving the error: "Runtime error 216 at 00003658" (and an OK button). Nothing more happens.
A demo can be downloaded from: http://gensdatapro.ngv.nl/Downloads/setupgdpdemo26.exe (size is about 30MB)
I have been in contact with the developer of this software, but he is currently not willing to adapt the software to run with wine and/or linux.
From this contact I know the program is written in Delphi, maybe that helps in
locating the problem.
Best regards,
Jos de Kloe
http://bugs.winehq.org/show_bug.cgi?id=16320
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=16320
--- Comment #1 from Jos de Kloe dekloe@zonnet.nl 2008-12-03 15:59:14 --- Created an attachment (id=17626) --> (http://bugs.winehq.org/attachment.cgi?id=17626) debug log while starting this application
http://bugs.winehq.org/show_bug.cgi?id=16320
--- Comment #2 from Jos de Kloe dekloe@zonnet.nl 2008-12-03 16:00:26 --- I don't know whether it will help, it is all abracadabra to me, but here is the debug log as generated with the following commands: setenv WINEDEBUG +relay,+seh,+tid wine .wine/drive_c/GDPdemo/gdpdemo.exe > & wine_debug_log_gensdatapro.log
http://bugs.winehq.org/show_bug.cgi?id=16320
--- Comment #3 from Austin English austinenglish@gmail.com 2008-12-03 16:30:36 --- (In reply to comment #2)
wine .wine/drive_c/GDPdemo/gdpdemo.exe > & wine_debug_log_gensdatapro.log
Don't do this. cd to the directory first.
http://bugs.winehq.org/show_bug.cgi?id=16320
--- Comment #4 from Jos de Kloe dekloe@zonnet.nl 2008-12-04 13:52:47 --- (In reply to comment #3)
(In reply to comment #2)
wine .wine/drive_c/GDPdemo/gdpdemo.exe > & wine_debug_log_gensdatapro.log
Don't do this. cd to the directory first.
thanks for this suggestion. However, nothing changes if I do this. The application gives the same error. The log seems largly identical, only many hexadecimal numbers change (I guess they are addresses, so that is probably to be expected). If you wish I can upload the changed logfile for this situation.
http://bugs.winehq.org/show_bug.cgi?id=16320
--- Comment #5 from Jos de Kloe dekloe@zonnet.nl 2008-12-09 16:32:28 --- Here are some more experimental results for this software. I followed the following steps:
checked which dll's are loaded by the program: setenv WINEDEBUG +loaddll wine gdpdemo.exe >& dll_list.txt
replaced each of them in turn with a native copy from win2000 (except the ones labelled with "Changing the load order is Not Recommended").
Most changes had no effect on the current problem except two:
changing imm32.dll from builtin to native gives the following warning:
fixme:win:User32InitializeImmEntryTable (0x19650412): stub
changing mpr.dll from builtin to native gives the following errors:
err:module:attach_process_dlls "mpr.dll" failed to initialize, aborting err:module:LdrInitializeThunk Main exe initialization for L"C:\GDPdemo\gdpdemo.exe" failed, status c0000142
Maybe this helps?
Best regards,
Jos de Kloe
http://bugs.winehq.org/show_bug.cgi?id=16320
John Haywards normandy@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |normandy@web.de
--- Comment #6 from John Haywards normandy@web.de 2008-12-24 08:51:53 --- Hope you understand a little bit german: http://forum.delphi-treff.de/showthread.php?t=17357
Could be related to ole, but i'm absolutly un-sure ;)
http://bugs.winehq.org/show_bug.cgi?id=16320
--- Comment #7 from Jos de Kloe dekloe@zonnet.nl 2008-12-24 10:06:43 --- (In reply to comment #6)
Hope you understand a little bit german: http://forum.delphi-treff.de/showthread.php?t=17357
Could be related to ole, but i'm absolutly un-sure ;)
Thanks for your remark. Reading german is ok for me. Yes it might be related, since this is a delphi DB application as well. Unfortunately there seem no answers/solutions posted on this forum ...
Jos.
http://bugs.winehq.org/show_bug.cgi?id=16320
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal Component|-unknown |kernel32
--- Comment #8 from Vitaliy Margolen vitaliy@kievinfo.com 2008-12-24 20:38:47 --- Doubt it's related to ole. It crashes in the callback from EnumResourceNamesA(): EnumResourceNamesA (nil) #000a 0x5729cc 219b2c0
http://bugs.winehq.org/show_bug.cgi?id=16320
--- Comment #9 from Jos de Kloe dekloe@zonnet.nl 2009-01-03 16:03:26 --- (In reply to comment #8)
Doubt it's related to ole. It crashes in the callback from EnumResourceNamesA(): EnumResourceNamesA (nil) #000a 0x5729cc 219b2c0
Hi,
thanks for your effort on this problem. However, to me it is not obvious at all that the code crashes on this call (since I am not familiar with all these windows library calls). Could you please explain why this call in wrong?
Thanks in advance.
Jos.
http://bugs.winehq.org/show_bug.cgi?id=16320
--- Comment #10 from Vitaliy Margolen vitaliy@kievinfo.com 2009-01-03 19:38:17 --- (In reply to comment #9)
Could you please explain why this call in wrong?
No, I did not find anything relevant. Was just documenting my findings.
http://bugs.winehq.org/show_bug.cgi?id=16320
--- Comment #11 from Jos de Kloe dekloe@zonnet.nl 2009-07-30 03:12:54 --- Yesterday I tested again, using the latest wine version 1.26 from the git repository and the latest demo version. The problem still remains. Is there anyone who would like to try and sort this out? A demo of the latest version of this application is available for download at: http://gensdatapro.ngv.nl/Downloads/setupgdpdemo27.exe
Best regards,
Jos.
http://bugs.winehq.org/show_bug.cgi?id=16320
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |xerox_xerox2000@yahoo.co.uk Ever Confirmed|0 |1
--- Comment #12 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2009-08-16 15:19:16 --- confirming. Stupid hack below makes app start, so indeed a problem in EnumResourceNamesA i'd say
index f49ea24..4a5c800 100644 --- a/dlls/kernel32/resource.c +++ b/dlls/kernel32/resource.c @@ -353,7 +353,7 @@ BOOL WINAPI EnumResourceTypesW( HMODULE hmod, ENUMRESTYPEPROCW lpfun, LONG_PTR l * EnumResourceNamesA (KERNEL32.@) */ BOOL WINAPI EnumResourceNamesA( HMODULE hmod, LPCSTR type, ENUMRESNAMEPROCA lpfun, LONG_PTR lparam ) -{ +{ return 0; int i; BOOL ret = FALSE; DWORD len = 0, newlen;
http://bugs.winehq.org/show_bug.cgi?id=16320
Andrey Turkin andrey.turkin@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andrey.turkin@gmail.com
--- Comment #13 from Andrey Turkin andrey.turkin@gmail.com 2009-10-05 07:14:13 --- Dup of bug 10525 - same root cause.
http://bugs.winehq.org/show_bug.cgi?id=16320
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE
--- Comment #14 from Jeff Zaroyko jeffz@jeffz.name 2009-10-05 07:40:54 --- (In reply to comment #13)
Dup of bug 10525 - same root cause.
Marking duplicate then.
*** This bug has been marked as a duplicate of bug 10525 ***
http://bugs.winehq.org/show_bug.cgi?id=16320
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #15 from Jeff Zaroyko jeffz@jeffz.name 2009-10-05 07:41:14 --- closing duplicate.