ctypes - loading 'librsvg-2-2.dll'

Discussion in 'Python' started by Tim Grove, Aug 26, 2008.

  1. Tim Grove

    Tim Grove Guest

    Any ideas why a particular dll won't load on Windows XP Pro using

    ctypes? The dll in question is 'librsvg-2-2.dll' (a link if anyone cares to try!!!
    http://ftp.gnome.org/pub/gnome/binaries/win32/librsvg/2.22/) The other dlls from the GTK libraries seem to load okay,
    so I'm more than puzzled!! I get the following results (whichever class
    I use):

    l=CDLL(r'D:\SILSign\librsvg-2-2.dll')
    Traceback (most recent call last):
    File "<input>", line 1, in <module>
    File "C:\PYTHON25\LIB\ctypes\__init__.py", line 349, in __init__
    self._handle = _dlopen(self._name, mode)
    WindowsError: [Error 127] The specified procedure could not be found

    Best regards,
    Tim
     
    Tim Grove, Aug 26, 2008
    #1
    1. Advertisements

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. Anushi
    Replies:
    5
    Views:
    10,590
  2. Adam Twardoch
    Replies:
    1
    Views:
    451
    Peter Hansen
    Jul 6, 2005
  3. Podi
    Replies:
    2
    Views:
    982
  4. subopt inTheVicinityOf geemail.com

    Trouble loading dll via ctypes

    subopt inTheVicinityOf geemail.com, Jan 29, 2008, in forum: Python
    Replies:
    1
    Views:
    458
    Helmut Jarausch
    Jan 30, 2008
  5. Replies:
    0
    Views:
    686
  6. Paddy
    Replies:
    3
    Views:
    820
    Uwe Schmitt
    Aug 27, 2008
  7. Hilmar Bunjes

    Error in Pango while using cairo/librsvg

    Hilmar Bunjes, Jun 15, 2009, in forum: Python
    Replies:
    1
    Views:
    862
  8. H. Simpson
    Replies:
    4
    Views:
    625
    H. Simpson
    Aug 3, 2004
Loading...