如果你了解VC或C的话应该是一个很简单的问题!
问题是这样的:现在有一个VC的结构体:
typedef struct
{
unsigned int nIsReport;
unsigned int nMsgFormat;
unsigned int nMsgLength;
char sMsgID[10+1];
char sRecvTime[14+1];
char sSrcTermID[21+1];
char sDestTermID[21+1];
char sMsgContent[252+1];
}DeliverResp;
现在要把它改delphi版本,应该怎样写?请各位大侠帮帮忙!
我写了一个,不知道对不对:
  TDeliverResp = record
           nIsReport : Cardinal;
           nMsgFormat : Cardinal;
           nMsgLength : Cardinal;  
           sMsgID : array[0..10] of char;
           sRecvTime : array[0..14] of char; 
           sSrcTermID : array[0..21] of char;
           sDestTermID : array[0..21] of char;
           sMsgContent : array[0..252] of char;
  end;
  PDeliverResp=^TDeliverResp;
请看看这样对不对!请指教!谢谢了在线等待尤其要看看这里指定的长度对不对!