http://bugs.winehq.org/show_bug.cgi?id=23585
--- Comment #10 from Anastasius Focht focht@gmx.net 2010-07-10 12:48:48 --- Hello,
--- quote --- You could try setting version to win98, that would load the 16-bit modules by default. I don't know if that would help. --- quote ---
Yes, that helps to have GetModuleHandle() return a valid module handle at this stage and to keep the PE compressor silent (app gui comes up).
Though it doesn't change the fact that the code/PE compressor is wrong in first place. These imports should never go by ordinal. Any call to them would crash the whole thing -> pure luck that the app starts/works in Windows.
Regards