I tried DLL within Embarcadero XE3, there I had ANT_Init() problem.
So I have installed MS VC++ Express2010 and compiled original project from Library Package example with same result for ANT_Init().
If DLL from package v3.21 worked for whatever IDE, so problem could be with some compiler/linker options? Even if I see no errors or warning after build.
I would also try older version of that Library Package, but I can't find it anywhere.