@ the comet
if you are using dbp put the dll in user plugins and keywords in the keywords folder and thats it .
if you are using dbc put the dll in with your projects exe and use the call dll command.
you will have to search for the decorated names of the functions in the dll , just use notepad or dllexp viewer .
load dll "community functions.dll",1
do
print CALL DLL(1,"?get_distance@@YAKMMMMMMH@Z",x#,y#,z#,x2#,y2#,z2#)
loop
you`ve got to bear in mind that only your distance function and the maths commands i did what you requested will work with dbc.
EDIT: sorry your gonna have to wait for the distance func , i seem to have broken it ,anyways it shouldn`t take me long will put up a new release tonight.
EDIT2: It works fine in dbp ,just getting strange values calling the dll ,its probably something to do with having to cast a float to a dword to return it dbpro ,don`t know how it works for dbc ,will find out and let ya know.
I might actually say that this dll only supports dbpro ,but don`t fear when i get time in next few days i will make a special one with the commands you requested.
thanks chunks
nvidia geforce 8600gt + amd athlon 64
windows xp pro.