Extension with MinGW
Andrew Gregory
andrew.gregory at npl.co.uk
Thu Dec 5 11:55:33 EST 2002
Gerhard Häring <gerhard.haering at opus-gmbh.net> wrote in message news:<slrnaursql.1e8.gerhard.haering at haering.opus-gmbh.net>...
> > But I still get the error message
> > ImportError: DLL load failed: The specified module could not be found.
> > Does the mingw-compiled DLL try to load another DLL?
>
> Normally not. But you can use the free Dependency Walker tool
> (http://www.dependencywalker.com/) to verify that.
Thanks for the info. Tried dependencywalker:
If Borland compiled (--compiler=bcpp) all ok. Listed modules are:
Python22.dll
Kernel32.dll
User32.dll
If Mingw32 compiled, listed modules are:
C:Python22.DLL
Kernel32.dll
Msvcrt.dll
and dependencywalker says that it cannot find C:Python22.dll
Since it specifically says C:Python22.dll I copied Python22.dll from
C:\WinNT\System32 to C:\ - but still get error message.
Still puzzled - any more ideas?
Andrew.
More information about the Python-list
mailing list