Re: [ctypes-users] Trouble loading dll on windws
Brought to you by:
theller
From: <da...@it...> - 2005-05-19 12:07:25
|
Dario Lopez-K=E4sten wrote: > My initial problem is that I cannot load the dll in question: >=20 > >>> import ctypes > >>> capi =3D ctypes.CDLL('c:\\capi\\lib\\capi.api') > Traceback (most recent call last): ... > WindowsError: [Errno 126] The specified module could not be found figured it out myself. Turns out that there are dependencies accros the=20 various dll's that constitute the API package. Putting the entire=20 package in the PATH solved these issues (at least on windows, I assume=20 that something similar will have to be done on Unix/Linux). Sorry for the noise. /dario --=20 -- ------------------------------------------------------------------- Dario Lopez-K=E4sten, IT Systems & Services Chalmers University of Tech. "...and click? damn, I need to kill -9 Word again..." - b using macosx |