[Bug 9039] GS-Auftrag Professional SQL aborts on startup

wine-bugs at winehq.org wine-bugs at winehq.org
Thu May 1 16:50:17 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=9039


Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at gmx.net




--- Comment #14 from Anastasius Focht <focht at gmx.net>  2008-05-01 16:50:16 ---
Hello,

--- quote ---
The app is passing a read-only address (405809) to CB_GETLBTEXT. Probably
Windows has an exception handler in there, this would need a test case.
--- quote ---

After dissecting the app code my educated guess is that this app suffers from a
bug in delphi runtime this app is statically linked with - which was fixed by
the vendor a long time ago.
See http://qc.codegear.com/wc/qcmain.aspx?d=3371 for explanation.

It crashes in Windows 2000 and previous versions but is gracefully handled in
Windows XP and later.

If you call SendMessage( hWnd, CB_GETLBTEXT, index, buffer) with read-only
address on Windows XP or later, CB_ERR (-1) is returned.
For wine it makes sense to add SEH regardless of windows config which lets this
app successfully start.

Regards


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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