int ifail = ITK_ok; ifail = EPM_register_action_handler("VAL-reject-result-overrides", "", cf_test_action); if (ifail == 0) { printf("Register VAL-reject-result-overrides successful "); }else { printf("Register VAL-reject-result-overrides failed %d ", ifail); }
原因:有可能handler已经注册过了