Still no luck with AG_InitCore. It works for other functions in other agar
dlls, but this one is not available:
from ctypes import *
agar=cdll.LoadLibrary('c:/python/rus/ag_core')
agal.AG_InitCore
Traceback (most recent call last):
File "<pyshell#4>", line 1, in <module>
agar.AG_InitCore
File "c:\python25\lib\ctypes\__init__.py", line 361, in __getattr__
func = self.__getitem__(name)
File "c:\python25\lib\ctypes\__init__.py", line 366, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: function 'AG_InitCore' not found
I tried inspecting ag_core.dll with dumpbin \EXPORTS, and it told me that dll
exports nothing. The file I used is from the following source:
http://stable.hypertriton.com/agar/agar-1.3.4-win32-i386-nothreads.zip
_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html