在delphi7下运行正常,可在delphi2010 ,提示
[DCC Error] comm.pas(250): E2010 Incompatible types: 'AnsiChar' and 'Char'
语句:
PAnsiChar(DWord(pReadBuf)+size-1)^:=
Char(temp_buf[size]);
哪位帮忙,在线等待
[DCC Error] comm.pas(250): E2010 Incompatible types: 'AnsiChar' and 'Char'
语句:
PAnsiChar(DWord(pReadBuf)+size-1)^:=
Char(temp_buf[size]);
哪位帮忙,在线等待
PAnsiChar(DWord(pReadBuf)+size-1)^:=
AnsiChar(temp_buf[size]);