[Bug 23585] AvaFX Trader program stop with error "The ordinal 37 could not be located in the DLL kernel32.dll"

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jul 10 13:28:41 CDT 2010


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





--- Comment #11 from Anastasius Focht <focht at gmx.net>  2010-07-10 13:28:41 ---
Hello,

another thought: although this clearly looks like a standard 32 bit app
targeting NT-based systems there might exist some small legacy code within app
(seems to be Delphi-based) requiring 16 bit stuff, hence the PE compressor uses
the ordinals-import.

"KERNEL32 4.0 Ordinal-Only Exports":

http://www.geoffchappell.com/viewer.htm?doc=studies/windows/win32/kernel32/history/ords40.htm

--- quote ---
The table below lists all the KERNEL32 functions that are exported only by
ordinal in version 4.0, i.e., for Windows 95. These all continue into the
versions for Windows 98 and Windows Me. None are ever exported from any NT
build. 
--- quote ---

As stated there: this approach won't work for any NT-based system.

These ordinals will be resolved incorrectly on any native Windows NT-based
system.
If this app works in Windows NT+ it's because of pure luck (16 bit code parts
never called).

I think there is nothing to change in Wine. The user has to run this app in
Win9X mode to work around the bug.

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