在ActiveForm中如何使用StrToInt()函数?
在ActiveForm中如何使用StrToInt()函数?
在ActiveForm中,有下面的程序段:
Edit2->Text = StrToInt(Edit1->Text);
出现下面的错误信息,不知是为什么?
[C++ Error] TestImpl1.cpp(663): E2034 Cannot convert 'AnsiString' to 'const char *'
[C++ Error] TestImpl1.cpp(663): E2342 Type mismatch in parameter 'lpSrc' (wanted 'const char *', got 'AnsiString')
请大家帮帮我!