Windows error 126 loading a dll on windows 2000

Larry Bates larry.bates at websafe.com
Wed Jul 25 21:16:58 CEST 2007


luis wrote:
> Hi!
> 
> I'm using ctypes with python 2.4 on windows xp
> 
> the code
> 
> if exists(join(getcwd(),'statistics.dll')):
> ...ap=windll.LoadLibrary(join(getcwd(),'statistics.dll'))
> 
> works fine
> 
> 
> but on windows 2000, the some code raise the windows error 126, it
> can't load the module statistics.dll
> 
> thanks in advance
> 
Using Google on "windows error 126" turned this up, hope it helps.

http://flashexperiments.insh-allah.com/ApacheError126.html

-Larry



More information about the Python-list mailing list