马上注册登录,享用更多网站功能!
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
CArray<roFeature,ProFeature>*p_FeatureList=NULL;
status=ProSolidFeatVisit(cur_solid,(ProFeatureVisitAction)PartFeatVisFn,NULL,(ProAppData)p_FeatureList);
return TRUE;
}
/////访问动作函数
ProError PartFeatVisFn(ProFeature* p_feature,ProError status,CArray<roFeature,ProFeature>*app_data)
{
ProBoolean isVisible;
int* r_failed_feat_ids;
int num=0;
ProBoolean p_is_incomplete;
ProFeatStatus p_status;
status=ProFeatureVisibilityGet(p_feature,&isVisible);
if(isVisible==PRO_B_TRUE)
{
app_data->Add(*p_feature);/////////大哥,调试到这一条就说内存泄漏了,不知道是怎么回事?给看看呗
}
return PRO_TK_NO_ERROR;
} |