entmod不成功,奇怪了。里边有代码,帮我看看把
void X_SDS::Modify_attr_position(ads_point pt,ads_name ent)<BR>{<BR> struct resbuf * head = ads_entget(ent);<BR> struct resbuf *temp =head;<BR> while(temp->restype != 10)<BR> temp = temp->rbnext;<BR> //此时temp指向的代表属性位置<BR> temp->resval.rpoint = pt;<BR> temp->resval.rpoint = pt;<BR> temp->resval.rpoint = pt;//修改属性实体<BR> if( ads_entmod(head) !=RTNORM)<BR> AfxMessageBox("fuck");<BR> ads_entupd(ent);<BR> ads_relrb(head);<BR>} ads_entupd(ent);放在函数之后看一看
页:
[1]