2013/1/8 skoczian <nulla.epist...@web.de> > ** > Yes, but why? The Firebird bin directory is in the path (and it's the > first entry there), _and_ the dll is in \windows\system32. Instclient.exe > puts it there with the name all uppercase ("FBCLIENT.DLL"), but that > shouldn't matter with Windows, should it? > > may be a bug in ctypes.util.find_library cf ( http://grokbase.com/t/python/python-bugs-list/12akm2rs91/issue16283-ctypes-util-find-library-does-not-find-all-dlls-anymore )
so try : from ctypes import * from ctypes.util import find_library fb_library_name = find_library('fbclient.dll')