win32all on win95: importv win32file fails
Mark Hammond
mhammond at skippinet.com.au
Sun Feb 16 20:27:20 EST 2003
Tim Roberts wrote:
> wouter at voti.nl (Wouter van Ooijen (www.voti.nl)) wrote:
>
>
>>For product of mine that uses Python and win32all I get complaints
>
>>from users on win95 that win32file can not belowded:
>
>>>> import win32file
>>>>ImportError: DLL load failed: One of the library files needed
>>>>to run this application cannot be found
>>
>>I don't have win95 to test this, and I don't get similar complaints
>
>>from users of other win versions. Is there anything special about
>
>>win32all on win95?
>
>
> Looking over the list of DLL imports for win32file.pyd, I note that it
> requires Winsock2 (WS2_32.DLL). I don't think that is included with Win95,
> so I'll bet that's the problem.
>
> Check here: I believe you can download Winsock2 for Win95.
> http://www.microsoft.com/windows95/downloads/
>
> BTW, here is the complete list of imports for win32file.pyd:
> KERNEL32.dll
> OLEAUT32.dll
> PyWinTypes22.dll
> python22.dll
> MSVCRT.dll
> MSWSOCK.dll
> WS2_32.dll
Note sure if winsock2 is the problem, but I am fairly sure CancelIO
doesn't exist on 95. I'm afraid someone who cares enough will need to
send me a patch.
Mark.
More information about the Python-list
mailing list