Try examples and use only these DLLs (fannfloat32.dll and fannfloat64.dll)
Try example2 for testing graph
important links :
https://github.com/Laex/Delphi-Artificial-Neural-Network-Library
http://libfann.github.io/fann/docs/files/fann-h.html
-there could be problems with trainings in the 64-bit-versions-