Using CTypes Module
Jeff Youel
jyouel-lists at youel.net
Mon Feb 3 01:54:41 EST 2003
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File "C:\Python22\Lib\site-packages\ctypes.py", line 126, in __getattr__
> func = _DynFunction(name, self, FUNCFLAG_CDECL)
> ValueError: function 'writePacket' not found
>
>
> ninebutton.dll is my dll and writePacket(int, int) is my function. What did
> I do wrong?
>
Just a shot in the dark. Is your function's name mangled by the C++
compiler?
Jeff
More information about the Python-list
mailing list