IEnumerator actions = axAgent1.Characters[Role.Name].AnimationNames.GetEnumerator();
你确实接口调用环境吧
Microsoft Agent控件没有注册,或者丢文件。用regsvr32重新注册下。