13,825
社区成员
发帖
与我相关
我的任务
分享
[BCC32 Error] Unit1.cpp(73): E2357 Reference initialized with 'char', needs lvalue of type 'wchar_t'
Full parser context
Unit1.cpp(68): parsing: void _fastcall TForm1::StringGrid1KeyDown(TObject *,unsigned short &,TShiftState)
[BCC32 Error] Unit1.cpp(73): E2342 Type mismatch in parameter 'Key' (wanted 'wchar_t &', got 'char')
Full parser context
Unit1.cpp(68): parsing: void _fastcall TForm1::StringGrid1KeyDown(TObject *,unsigned short &,TShiftState)
[BCC32 Warning] Unit1.cpp(75): W8004 'ckey' is assigned a value that is never used
Full parser context
Unit1.cpp(68): parsing: void _fastcall TForm1::StringGrid1KeyDown(TObject *,unsigned short &,TShiftState)
char cKey = VK_SPACE;
StringGrid1KeyPress(Sender, cKey);