MemoryLoadLibrary failed loading wx\_core_.pyd

At least one user of my application run into this during exception
during startup of the application.
Traceback (most recent call last):
File “twcb.py”, line 41, in
File “zipextimporter.pyo”, line 82, in load_module
File “mypublisher.pyo”, line 21, in
File “zipextimporter.pyo”, line 82, in load_module
File “wx_init_.pyo”, line 45, in
File “zipextimporter.pyo”, line 82, in load_module
File “wx_core.pyo”, line 4, in
File “zipextimporter.pyo”, line 98, in load_module
ImportError: MemoryLoadLibrary failed loading wx_core_.pyd
This is a py2exe’d application using Py 2.5.4, wxPython 2.8.10.1.
The correction was simply to include msvcp71.dll (note the “p”
nor the standard “r” we always need with Py 2.5.x) into the
distribution.

According to this site
() this only happens
on a few Windows XP SP 2 with the latest hotfixes applied.
Has anyone else come across this and can confirm that the ‘dll’ is the
fix for this problem?
Werner

···

http://forum.opensubtitles.org/viewtopic.php?t=881

Hi Werner,

···

On Mar 18, 10:25 am, werner <wbru...@free.fr> wrote:

At least one user of my application run into this during exception
during startup of the application.

Traceback (most recent call last):
File "twcb.py", line 41, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "mypublisher.pyo", line 21, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "wx\__init__.pyo", line 45, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "wx\_core.pyo", line 4, in <module>
File "zipextimporter.pyo", line 98, in load_module
ImportError: MemoryLoadLibrary failed loading wx\_core_.pyd

This is a py2exe'd application using Py 2.5.4, wxPython 2.8.10.1.

The correction was simply to include msvc*p*71.dll (note the "p" nor
the standard "r" we always need with Py 2.5.x) into the distribution.

According to this site
(Solution for MemoryLoadLibrary failed loading wx\_core_.pyd - OpenSubtitles forum) this only happens
on a few Windows XP SP 2 with the latest hotfixes applied.

Has anyone else come across this and can confirm that the 'dll' is the
fix for this problem?

Werner

I think I've had that issue before, although I was thinking it was the
gdiplus.dll file. I know it was some kind of dll issue at any rate and
it did indeed go away once I included the right one(s). This seems to
be more of a problem for me when I tell py2exe to make my applications
into one executable, so I quit doing that.

-------------------
Mike Driscoll

Blog: http://blog.pythonlibrary.org