ctypes error on Windows
Thomas Heller
theller at python.net
Fri Sep 5 05:08:37 EDT 2008
Fredrik Lundh schrieb:
> Fredrik Lundh wrote:
>
>>> I do have the tidy.dll installed (if I didn't, I couldn't even import
>>> the tidy module).
>>
>> typing the following into the Python interpreter might give you some
>> more clues:
>>
>> >>> import _tidy
>> >>> _tidy.__file__
>> >>> dir(_tidy)
>
> or not, since ctypes is involved.
>
> have you checked for multiple copies of tidy.dll?
>
> if you have MSVC on your machine, try using "dumpbin /exports" on the
> DLL to check that it really exports the symbols the binding expects.
>
Or use dependencywalker (google for it).
Thomas
More information about the Python-list
mailing list