为什么我的 VB 6.0 应用程序无法编译?

发布于 2024-10-31 10:40:12 字数 238 浏览 1 评论 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

丘比特射中我 2024-11-07 10:40:12

注册表中可能有两个条目导致了该问题,其中一个条目可能位于已删除的目录中。我建议使用 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

拔了角的鹿 2024-11-07 10:40:12

我也继承了一个使用 CR 8.5 的应用程序的维护。在 InnoSetup 安装程序中指定了以下 .dll。我想你都需要它们!注意安装目录!一些转到 Sytem 32 ({sys}),其他转到 Windows\Crystal

;Crystal Report files
Source: CR\Crystl32.ocx; DestDir: {sys}; Flags: regserver sharedfile
Source: CR\mfcans32.dll; DestDir: {sys}; Flags: sharedfile
Source: CR\crpe32.dll; DestDir: {sys}; Flags: sharedfile
Source: CR\Crpaig80.dll; DestDir: {sys}; Flags: sharedfile
Source: CR\Implode.dll; DestDir: {sys}; Flags: sharedfile
Source: CR\msvcp60.dll; DestDir: {sys}; Flags: restartreplace sharedfile
Source: CR\Exlate32.dll; DestDir: {sys}; Flags: sharedfile
Source: CR\p2bdao.dll; DestDir: {sys}; Flags: sharedfile
Source: CR\p2ctdao.dll; DestDir: {sys}; Flags: sharedfile
Source: CR\p2irdao.dll; DestDir: {sys}; Flags: sharedfile
Source: CR\u2ddisk.dll; DestDir: {win}\Crystal
Source: CR\u2fhtml.dll; DestDir: {win}\Crystal
Source: CR\u2fsepv.dll; DestDir: {win}\Crystal
Source: CR\u2ftext.dll; DestDir: {win}\Crystal
Source: CR\u2fwordw.dll; DestDir: {win}\Crystal
Source: CR\u2fxls.dll; DestDir: {win}\Crystal
Source: CR\u2lsamp1.dll; DestDir: {win}\Crystal
;end Crystal Report files

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

;Crystal Report files
Source: CR\Crystl32.ocx; DestDir: {sys}; Flags: regserver sharedfile
Source: CR\mfcans32.dll; DestDir: {sys}; Flags: sharedfile
Source: CR\crpe32.dll; DestDir: {sys}; Flags: sharedfile
Source: CR\Crpaig80.dll; DestDir: {sys}; Flags: sharedfile
Source: CR\Implode.dll; DestDir: {sys}; Flags: sharedfile
Source: CR\msvcp60.dll; DestDir: {sys}; Flags: restartreplace sharedfile
Source: CR\Exlate32.dll; DestDir: {sys}; Flags: sharedfile
Source: CR\p2bdao.dll; DestDir: {sys}; Flags: sharedfile
Source: CR\p2ctdao.dll; DestDir: {sys}; Flags: sharedfile
Source: CR\p2irdao.dll; DestDir: {sys}; Flags: sharedfile
Source: CR\u2ddisk.dll; DestDir: {win}\Crystal
Source: CR\u2fhtml.dll; DestDir: {win}\Crystal
Source: CR\u2fsepv.dll; DestDir: {win}\Crystal
Source: CR\u2ftext.dll; DestDir: {win}\Crystal
Source: CR\u2fwordw.dll; DestDir: {win}\Crystal
Source: CR\u2fxls.dll; DestDir: {win}\Crystal
Source: CR\u2lsamp1.dll; DestDir: {win}\Crystal
;end Crystal Report files
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文