typedef struct iodbtgi {
short s_grp; /* start group number */
short dummy; /* dummy */
short e_grp; /* end group number */
struct {
long n_tool; /* number of tool */
long count_value; /* tool life */
long counter; /* tool life counter */
long count_type; /* tool life counter type */
} data[5];
} IODBTGI; /* In case that the number of group is 5 */
各位大师上面的c结构体,怎麼样改写为成delphi的record啊
谢谢啦
extern "C" __declspec(dllexport)
IODBTGI * WINAPI GetTime(const char *ipaddress);
这是我c中dll的函数申明
在delphi中我要申明一个返回机构体指针的函数 应该怎麼写啊
Function GetTimeList(ip:string):^IODBTGI;
这样写编译出错啊(Identifier expected but '^' found)