65,187
社区成员




typedef struct tagITEM
{
OPCHANDLE serverhandle;
OPCHANDLE clienthandle;
FILETIME timestamp;
WORD quality;
VARIANT value;
LPWSTR accesspath;
LPWSTR itemid;
BOOL active;
DWORD rights;
VARTYPE datatype;
DWORD blobsize;
BYTE *pBlob;
BOOL delitem;
BOOL finished;
HRESULT error;
} ITEM;
static ITEM iteminfo[ItemMaxNum];
iteminfo[j].itemid = (WORD*)malloc(sizeof(WORD)*t_length);//报错代码;