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

Tim Grove tim_grove at sil.org
Tue Aug 26 04:02:59 EDT 2008


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





More information about the Python-list mailing list