ok, tested! the package works perfectly on windows, so the headers are ok!
the problem is on linux: when linking the program, it can't find the functions becouse of the name they have, with a "_" at the beginning
function enet_initialize : integer; cdecl; external enetdll name '_enet_initialize';
if i change it to:
function enet_initialize : integer; cdecl; external enetdll name 'enet_initialize';
it works!
What can it be? Maybe the functions on the DLL are named differently than on the .a library ?
Bookmarks