Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3338322 By: nobody
I'm a python developer and I want to call the freetype6.dll with the ctypes package. In all my programs I use that package for call the .dll, without any problem, but with freetype, I found some problems at the first function, FT_Init_FreeType, because ctypes say me (windows say to ctypes that say to me) that FT_Init_FreeType no need any parameter, so if I pass it the library struct, I receive an error: ValueError: Procedure probably called with too many arguments (4 bytes in excess). In my experience, this problem appeare when I call a function that has less arguments than I pass. I try also to linux system (with the /usr/lib/libfreetype.so) and here, with the same code, it work well. Can some one help me? Thanks, Michele ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=74807 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ GnuWin32-Users mailing list GnuWin32-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnuwin32-users