CCT_CMD和CCT_CMD_EX是什么?显示是winDatastruct.h定义的。
[code=C/C++][/code] CCT_CMD tCmd;
memset(&tCmd, 0, sizeof(CCT_CMD));
tCmd.SvrType=0x01;
tCmd.CmdCode=0x31;
tCmd.ParaNum=24;
tCmd.CmdLen=strlen(sqlStr);
strcpy(tCmd.CmdBuf,sqlStr);
DMSrv->CCT_get_cmd_res("CallSrv",MainForm->dsncnset->url_pattern,MainForm->dsncnset->jndi,&tCmd,&tRes,60);
//------------------------------------------------------
CCT_CMD_EX cct_cmd_ex;
fireToapp=res;
memset(&cct_cmd_ex,0,sizeof(cct_cmd_ex));
strncpy(cct_cmd_ex.svrname,svrname,sizeof(cct_cmd_ex.svrname)-1);
strncpy(cct_cmd_ex.check,check,sizeof(cct_cmd_ex.check)-1);
strncpy(cct_cmd_ex.pass,pass,sizeof(cct_cmd_ex.pass)-1);
[解决办法]
winDatastruct.h找你系统里的这个文件看看,结构应该是自己定义的.
[解决办法]