win32 DLL import problem

Robin Becker robin at jessikat.fsnet.co.uk
Mon Jan 29 10:03:24 EST 2001


In article <Pine.SOL.4.30.0101291323540.148-100000 at mimosa.csv.warwick.ac
.uk>, John J. Lee <phrxy at csv.warwick.ac.uk> writes
>
>ImportError: DLL load failed: One of the library files needed to run this
>> application cannot be found.
>
>but apparently doesn't feel the need to tell me *which* library file it
>can't find.  It can't be _minpack.pyd, because it just found two other
>files in the same directory -- unless it doesn't recognise it as a valid
>.pyd for some reason?
>
>I compiled multipack on NT with cygwin, with the -mno-cygwin switch, which
>is supposed to link against the same C run-time library as the python 2.0
>distribution itself, msvcrt.dll (which is there on the win95 machine)
>rather than the cygwin crtdll, so presumably that can't be the problem,
>but since I don't know which file it can't find, it's hard to say!  It
>does import okay on NT.
>
>Thanks for any help
...
try and get hold of depends.exe the dependency checker and use it to see
what DLL's your exetnsion is linked against/expecting. It comes as part
of the VC++ tools, but it can be downloaded from M$oft somewhere.
-- 
Robin Becker



More information about the Python-list mailing list