J
Junan
Unregistered / Unconfirmed
GUEST, unregistred user!
typedef struct _CMN5_MULTI_COMMAND {<br> ULONG uCommand;<br> ULONG uBoard;<br> ULONG uChannel;<br> union {<br> ULONG uParam[4];<br> struct {<br> ULONG uParam0;<br> ULONG uParam1;<br> ULONG uParam2;<br> ULONG uParam3;<br> };<br> };<br> BOOL bRet;<br>} CMN5_MULTI_COMMAND;<br>我把它转成下面的格式:<br> TCMN5_MULTI_COMMAND=^_CMN5_MULTI_COMMAND;<br> _CMN5_MULTI_COMMAND=record<br> uCommand WORD;<br> uBoard WORD;<br> uChannel WORD;<br> case Integer of<br> 0uParam :array [0..3] of DWORD);<br> 1<br> uParam0 WORD;<br> uParam1 WORD;<br> uParam2 WORD;<br> uParam3 WORD);<br> bRet :Boolean;<br> end;<br>可是在倒数第二个声明过不去了.提示出错信息:<br>Undeclared indentifier: "bRet"<br>Duplicate tag value<br>Type expected but "END" found<br>Could not complie used unit 'Unit1.pas'