"Mark G. Adams" mgadams@sympatico.ca wrote:
Here's the message output on startup if those functions are not exported at the expected ordinals:
err:win32:PE_fixup_imports No implementation for WINSPOOL.DRV.201 imported from C:\OmniMark\EnterpriseStudio6_1_1\OmniMark-Enterprise-Studio.exe, setting to 0xdeadbeef
Unless i'm mistaken, that's an ordinal import.
This application will not work either under win9x or win2000 because they have different functions assigned to ordinal 201: win95 OSR2 PE and win98 SE: StartDocPrinterA win2000: GetDefaultPrinterA
It should be clear even for you, since you have submitted two different patches with ordinal 201 assigned to absolutely different functions and presumably both variants have worked for you. Apparently just adding 100 stub OrdinalBase should work for you too.
Probably the right fix would be to add new parameter to the wine .spec files: "ordinal base", because for WINSPOOL.DRV it's equal to 100 in all variants of that DLL for me.