先注册组件,然后在引用编译就没问题了。 注册方法:开始->运行,输入如下命令。 regsvr32 具体路径\XXX.dll 转载于:https://www.cnblogs.com/djhama/archive/2011/10/16/2214090.html