我正在VS2005中建立一个项目,我的一些DLL没有注册。我在Visual Studio中得到的错误消息是:为什么我的DLL无法注册?
Project : error PRJ0019: A tool returned an error code from "Registering ActiveX Control..."
这很好模糊。当我通过命令行手动注册DLL(使用regsv32.exe
,我得到以下错误:
LoadLibrary("test.ocx") failed - This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix the problem.
我的罪魁祸首.ocx文件跑的Dependency Walker(depends.exe
),但它没有显示任何明显的问题。
我也做了重新构建,但我仍然得到了同样的问题。
任何建议,我怎么能确定此故障的原因进行登记?
最后一个链接为+1。这是解释;我现在已经改变了这个接受的答案。 – LeopardSkinPillBoxHat 2010-02-10 00:18:14