Windows error 126 loading a dll on windows 2000

Discussion in 'Python' started by luis, Jul 25, 2007.

  1. luis

    luis Guest

    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
     
    luis, Jul 25, 2007
    #1
    1. Advertising

  2. luis

    Larry Bates Guest

    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
     
    Larry Bates, Jul 25, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Shawn
    Replies:
    1
    Views:
    441
    Shawn
    Feb 7, 2005
  2. vsoler
    Replies:
    4
    Views:
    2,225
    vsoler
    Aug 4, 2010
  3. Ruby Quiz

    [QUIZ] FizzBuzz (#126)

    Ruby Quiz, Jun 1, 2007, in forum: Ruby
    Replies:
    153
    Views:
    1,290
    Brad Phelan
    Jun 11, 2007
  4. Rick DeNatale
    Replies:
    0
    Views:
    107
    Rick DeNatale
    Jun 3, 2007
  5. philip

    [solution] quizz 126

    philip, Jun 3, 2007, in forum: Ruby
    Replies:
    0
    Views:
    111
    philip
    Jun 3, 2007
Loading...

Share This Page