win32 DLL import problem

John J. Lee phrxy at csv.warwick.ac.uk
Mon Jan 29 18:34:05 EST 2001


On Mon, 29 Jan 2001, Robin Becker wrote:

> 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.
[...]
> 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.
[...]

Aha, thanks.  It seems I did after all somehow link with cygwin1.dll.

Having got past that one, a slightly tougher one: my copy of TableIO
(compiled and run on the same two machines mentioned above), works on our
NT machine, but hangs the Python interpreter shell on our win95 laptop.
Now, I know that since (apparently) I linked against crtdll.dll rather
than msvcrt.dll by omitting -mno-cygwin somewhere, bad things may happen
as a result.  But do these bad things really happen on win95 but not NT??


John




More information about the Python-list mailing list