[Bug 3591] py2exe does not work properly

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Nov 27 01:28:50 CST 2007


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





--- Comment #6 from Dmitry Timoshkov <dmitry at codeweavers.com>  2007-11-27 01:28:49 ---
(In reply to comment #5)
> BeginUpdateResource & EndUpdateResource are now implemented (bug 3897), but one
> more is missing - BindImageEx. When using py2exe I get:
> *** finding dlls needed ***
> fixme:imagehlp:BindImageEx (7, "C:\\python25\\DLLs\\_hashlib.pyd", ...
> C:\\python25\\l"..., (null), 0x541600): stub
> ...
> *** create binaries ***
> *** byte compile python files ***
> ...
> and it finishes succesfully.

BindImage being a stub doesn't matter. 'Binding' means changing the loading
base and adapting imports/exports accordingly to avoid an image relocation
at run-time.

> But the strange thing is that I can successfully run generated exe file under
> wine and Win98, but under XP trying to run it gives:
> app.exe is not a valid Win32 application.

Report this to py2exe authors, looks like they create an ivalid PE image, and
rely on BindImage to fix it for them.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list