G
Gloomymoon
Unregistered / Unconfirmed
GUEST, unregistred user!
dll的定义如下:<br>typedef struct LOCATE_RET<br>{<br> double x;<br> double y;<br> double deviation;<br> int areaID;<br>}LOCATE_RET, *PLOCATE_RET;<br>//exported functions<br>RSSIAPI_API int fnDataCollect(double x, double y, int direction, int repeat);<br>RSSIAPI_API int fnRequestLocate(int repeat, int avgtimes);<br>RSSIAPI_API int fnGetLocateResult(LOCATE_RET * locate);<br>RSSIAPI_API bool fnInitService(LPSTR serverip, LPSTR localip, int deviceIndex);<br><br>请教delphi下要怎么写?