DELPHI盒子
!实时搜索: 盒子论坛 | 注册用户 | 修改信息 | 退出
检举帖 | 全文检索 | 关闭广告 | 捐赠
技术论坛
 用户名
 密  码
自动登陆(30天有效)
忘了密码
≡技术区≡
DELPHI技术
lazarus/fpc/Free Pascal
移动应用开发
Web应用开发
数据库专区
报表专区
网络通讯
开源项目
论坛精华贴
≡发布区≡
发布代码
发布控件
文档资料
经典工具
≡事务区≡
网站意见
盒子之家
招聘应聘
信息交换
论坛信息
最新加入: mrecx
今日帖子: 23
在线用户: 14
导航: 论坛 -> 移动应用开发 斑竹:flyers,iamdream  
作者:
男 fan (孤独求爱) ★☆☆☆☆ -
盒子活跃会员
2004/9/13 14:33:22
标题:
Required package 'Borland$' not found 浏览:2275
加入我的收藏
楼主: 为什么delphi 8+update2 不能编译Required package 'Borland$' not found
----------------------------------------------
我不懂就发帖子!大家帮我哦!
作者:
男 lanyy34 (Ricle) ★☆☆☆☆ -
普通会员
2004/9/14 11:33:04
1楼: 对!我卸载后重新安装,只要牵涉到数据控件,也同样出现这个错误。
----------------------------------------------
-
作者:
男 zanpen2000 (雪落无声) ★☆☆☆☆ -
普通会员
2004/9/22 0:01:59
2楼: 我也遇到了这个问题,有解决办法的话,放上来分享一下了
----------------------------------------------
摇到外婆桥
作者:
男 eppencn (eppecn) ★☆☆☆☆ -
盒子活跃会员
2005/4/21 22:56:30
3楼: 这有篇文章,
http://www.prestwood.com/aspsuite/kb/document_view.asp?qid=100270
Fix For .NET Framework 1.1 Service Pack 1 Delphi 8 Problem 
Posted by mprestwood 


Microsoft's recently released service pack 1 for the .Net framework 1.1 breaks Delphi 8 as soon as you compile a project. The problem appears to be that Microsoft added symbols to the framework that Delphi 8 cannot currently handle. Delphi 8 must gather the needed symbols directly from the .Net framework. According to my contacts at Borland, Microsoft is well within their right to add symbols and Borland must come up with a solution compatible with their desire to add symbols. A quick solution for Borland is to add those symbols to a patch for Delphi 8. However, the next time Microsoft adds symbols, boom, everybody is dead in the water waiting for Borland to catch up, again. At this point, probably what's going on is that Borland is enhancing the gathering of the symbols process and making it a more dynamic process. Perhaps they are even asking Microsoft to surface an RTTI or Reflection type API for Borland. Or, perhaps, that functionality is already there and they just need to make use of it. Until then, we Delphi 8 developers have to figure out a solution to keep coding today.

In the original shipping version of Delphi 8, you have this problem if you get the following error:

Required package Borland$ not found 

or

[Fatal Error] Project2.dpr(1): Unit Borland.Delphi.System was compiled with a different version of .Borland$.Word

I performed the following procedure to get back up and running with both WinForms and VCL.Net projects. It is a compilation of information from various sources already on the Internet.

Make sure Delphi 8 is not running (exit Delphi 8). 
Uninstall framework 1.1. This uninstalls framework 1.1 and it's already applied service pack 1. 
Reinstall framework 1.1. But do NOT install the .Net framework 1.1 service pack 1. 
[Optional] Go to Microsoft Updates and hide the service pack 1 update so that you don't accidentally apply the update. 
Next you need to delete "some" of the *.dc* files on your system. Some of these files were installed with Delphi and updated when you compiled and some were put on your system when you created a new project. Open a command prompt by selecting Start | Run | type Cmd, then okay (or just press WinKey + R + cmd + Return). Then, change Directory to the Borland Installation Folder (default is c:\Program Files\Borland\BDS\2.0). 
Change Directory to the lib folder (cd lib) and delete the *.dc* files (del *.dc*). 
Change Directory to the debug subfolder (cd debug) and delete the *.dc* files (del *.dc*). 
Go back to the Borland Installation Folder (use cd.. then cd..). 
Change Directory to the source folder (cd source) and recreate the assemblies (make default debug). The "make" command along the passed in parameter "default debug" recreates the necessary assemblies. 
This step is NOT optional even if you do a reinstall! Delete all of the *.dc* files in ALL of your project folders, including those quick demo project folders, with del *.dc*. 
At this point your WinForms Delphi 8 projects should work fine but your VCL.Net projects are probably still broke and you may even be getting an "Internal error: U1810" error. If so, you need to delete the *.dcpil files in your VCL.Net project folders.

Note: You probably need to "safe" new VCL.Net projects prior to building them. 
Good luck!


----------

KEYWORDS: Delphi, Borland, Borland Delphi, 8, Delphi 8, .Net Framework, Service Pack 1, Update 1, Required package Borland$ not found
----------------------------------------------
-
信息
登陆以后才能回复
Copyright © 2CCC.Com 盒子论坛 v3.0.1 版权所有 页面执行70.3125毫秒 RSS