为什么我的 VB 6.0 应用程序无法编译?
我的任务是向已有 10 年历史的 VB 6.0 应用程序添加一项功能。起初,当我尝试创建 exe 时,出现以下错误:
“找不到项目或库”,
然后它列为“缺失:Crystal Reports 8.5 标准向导库
” ,所以我找到了该 dll 并将其放入 system32 中然后,在“参考”弹出窗口中,将其映射到 dll。然而,尽管“MISSING”已被删除,但我仍然收到相同的错误消息,并且它指向相同的 dll。
I have been tasked with adding a feature to a 10 year old vb 6.0 app. At first I was getting the following error when I tried to create the exe:
"Can't find the project or library"
It then listed as MISSING: Crystal Reports 8.5 Standard Wizard Library
So I got ahold of that dll and put it in system32 and then, in the Reference popup, mapped it to the dll. However I still get the same error message and it points to the same dll although "MISSING" has been removed.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
注册表中可能有两个条目导致了该问题,其中一个条目可能位于已删除的目录中。我建议使用 ccleaner 之类的东西清理注册表,然后尝试再次注册。 VB6 有时会保留错误的注册表项。
您还可以使用 Dependency Walker 之类的工具检查 exe/dll,以查看是否缺少报告工具的辅助组件: http://download.cnet.com/Dependency-Walker/3000-2086_4-10052198.html
there may two entries in the registry causing the issue, possibly one in a deleted directory. I'd recommend cleaning your registry with something like ccleaner and then try registering it again. VB6 will occassionally hold on to bad reg keys.
You might check also check the exe/dlls with a tool like Dependency Walker to see if there is a missing secondary component of the report tool that is missing: http://download.cnet.com/Dependency-Walker/3000-2086_4-10052198.html
我也继承了一个使用 CR 8.5 的应用程序的维护。在 InnoSetup 安装程序中指定了以下 .dll。我想你都需要它们!注意安装目录!一些转到 Sytem 32 ({sys}),其他转到 Windows\Crystal
I inherited the maintenance of an app that uses CR 8.5 too. In the InnoSetup installer the following .dll's are specified. I think you need them all! Mind the installation directories! Some go to Sytem 32 ({sys}) others go to Windows\Crystal