[EMAIL PROTECTED] (Tian) writes:

> I am trying to use pyfmod in python to manipulate sound.
> i have installed pyfmod, ctype, numarray (if they are necessary), i
> also copied fmod.dll to python/DLLs as well as windows/system32, but

First, you should copy fmod.dll to a directory somewhere where
LoadLibrary can find it.  That includes directories on PATH, plus the
directory where the executable is.  python/DLLs does probably not work.

> when i tried
>
>    import pyFMOD
>
> I got:
>
> Traceback (most recent call last):
>   File "<pyshell#0>", line 1, in -toplevel-
>     import pyFMOD
>   File "C:\Python24\Lib\site-packages\pyFMOD.py", line 177, in
> -toplevel-
>     _FSOUND_Sample_Load = getattr(fmod, "[EMAIL PROTECTED]")
>   File "C:\Python24\Lib\site-packages\ctypes\__init__.py", line 323,
> in __getattr__
>     func = self._StdcallFuncPtr(name, self)
> AttributeError: function '[EMAIL PROTECTED]' not found
> -------------------------------------
> How can I deal with this?
> Thanks!

The fmod.dll that I just downloaded has a function named
'[EMAIL PROTECTED]', which indicates an api change (the number of
the '@' sign indicates how many bytes are needed as parameters).

Probably pyFMOD needs an older version of fmod.dll, or pyFMOD should be
updated?

Thomas
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to