主要代码如下:
void key::OnReceive(int nErrorCode)
{
CString ss1("qE工号:") ,ss2;
char a=27;
ss2=a+ss1;
CsucApp::screen1.Send(ss2,strlen(ss2),0);
}
其中screen1就是key的一个对象
编译时提示:
g:\visual stdio\my project\suc\key.cpp(66): error C2228: left of '.Send' must have class/struct/union type
void key::OnReceive(int nErrorCode)
{
CString ss1("qE工号:") ,ss2;
char a=27;
ss2=a+ss1;
CsucApp::screen1.Send(ss2,strlen(ss2),0);
}
其中screen1就是key的一个对象
编译时提示:
g:\visual stdio\my project\suc\key.cpp(66): error C2228: left of '.Send' must have class/struct/union type
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货