Unable to import dll extension that relies on a second dll

Gerhard Häring gerhard.nospam at bigfoot.de
Wed Aug 15 00:07:03 EDT 2001


On 14 Aug 2001 20:39:07 -0700, John M. Camara <camara at home.com> wrote:
>I have not been able to create a Python extension in Windows 
>that requires a call to a function in another dll.  In the 
>simplified example below a function called foo in extension.dll 
>calls bar a function in supporting.dll.  I used SWIG to wrap the 
>functions in extension.dll and compiled both dlls in Borland C++ 
>Builder 5.  When I try to import the extension I get an import 
>error stating that the module could not be found.

Do you have supporting.dll in the PATH?

Gerhard
-- 
mail:   gerhard <at> bigfoot <dot> de       registered Linux user #64239
web:    http://www.cs.fhm.edu/~ifw00065/    public key at homepage
public key fingerprint: DEC1 1D02 5743 1159 CD20  A4B6 7B22 6575 86AB 43C0
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))



More information about the Python-list mailing list