本站创建于2006年,博主为Delphi老码农,暗黑忠实粉丝,主要用于学习经验分享
该日志由 samool 发表于 2010-08-16 15:49:18
该日志标签: delphi, delphi2010, Indy10, indy, indy10安装
该日志由 samool 发表于 2010-08-16 14:28:57
Because Indy is changing fairly rapidly, and because there are problems with the version of Indy that shipped with RAD Studio 2010, I found that I had to download and compile a new version of Indy. Although that isn't too hard, the documentation is scattered all over, and there is no comprehensive source of information. Searching through all of this, I wasted quite a number of hours. To save others (and save myself when I have to do it again), I wanted to post a set of instructions.
None of the information here is original. I take credit for nothing, but I take responsibility for all of the errors. Please post corrections, for the benefit of all. I greatly appreciate the contributions of the Indy developers and experts.
My setup is RAD Studio 2010, including both Delphi and C++ Builder. I have only passing knowledge of Delphi, as C++ is what I mostly use. However, C++ Builder, by itself, is poorly documented, since Embarcadero includes most of the demos and documentation for Delphi, so I got the combined RAD Studio product. That is fortunate, since it is much easier to compile Indy using the Delphi personality than with C++ Builder. These instructions are for replacing Indy Tiburon version 140 with a new version of Indy Tiburon 140.
该日志标签: delphi2010, rad2010, Indy Tiburon, Indy10, C++Builder
该日志由 samool 发表于 2010-07-13 21:04:17
Windows 7不错,Delphi 7也不错,不过两者合作不怎么协调。用Delphi 7打开旧工程,窗体上的中文全部成了乱码,这是由于Delphi 7将dfm文件中的unicode字符串转换成AnsiString时选择了错误的代码页,本来应该选择936代码页,却错误选择了1252。其实这也算是Windows 7 Beta版本的BUG吧?控制面板里已经把system locale设置成了Chinese PRC,但是系统运行的线程的locale还被windows初始化为1033,而locale 1033的代码也就是1252。Delphi 7放着system locale不用要去用线程各自的locale,也够笨的了。所以我们解决的办法就是改变线程的locale,这可以用SetThreadLocale这个API来解决。写一个bpl包安装到Delphi IDE中,IDE启动后就会自动加载我们的包了,这个包只需要一个单元文件:
该日志标签: windows7, delphi2010, 乱码
该日志由 samool 发表于 2010-06-27 14:36:46
delphicbuilder_2010_3615_win.iso破解
注:3615版已经包含了最新的升级包 update4, update5
1、先下载安装程序
http://altd.embarcadero.com/download/RADStudio2010/delphicbuilder_2010_3615_win.iso
如果以前安装过其它版本,请先用原来的安装程序卸除旧版;
2、下载破解工具( 下载地址1: Delphi.Distiller.v1.85.rar)
来源参考这里(下载地址2)(http://bbs.2ccc.com/topic.asp?topicid=344528)
3、采用旧版本的序列号安装3615(或者使用HAAL-DANSGN-FZR5AG-M3BS),不要选择更新升级(Update)完成安装(finish);
4. 运行一次D2010,进入注册界面,不做任何事情直接点击“Cancel”,然后点击相关按钮退出;
5. 运行Distiller.v1.85,点击“清除”LIC,勾选“Remove...use lsuper method”,点击“OK”;
6. 运行D2010成功!若进入“购买”页面,没关系,你再重复第5步,...你一定成功!
该日志标签: delphi2010, RAD Studio 2010
该日志由 samool 发表于 2010-06-27 12:42:56
为感谢Delphi园地和Delphi盒子等网站多年来给我提供的各种资料,我也把自己这几天发现的一个小技巧写出来,供各位参考----虽然可能会贻笑大方:
启动Delphi2010后,Delphi2010 总会提示下载更新包,而对于D版用户来说,这个功能可能反而带来麻烦,那么有解决办法吗?答案是肯定的.
1. 打开 C:\Documents and Settings\All Users\Application Data\{BBD31133-40F8-4B57-9BA6-DB76C03D153B}\
2. 把Setup.exe改名.
3. 再次启动Delphi,系统只会在状态栏提示找不到Setup.exe,但并不影响你使用了.
本文来自Delphi园地,转载请标明出处:http://www.delphifans.com/InfoView/Article_6471.html
该日志标签: delphi2010, rad2010
该日志由 samool 发表于 2010-06-27 12:40:09
2010已发布很长时间了,口碑还不错,准备用它开发下一项目,但对泛型等新东西的认识还不够,就搜了一下,发现下面这篇文章,还不错,大家一起补补课吧!
C++中的模板、C#等语言中泛型技术,给许多操作不同类型数据的软件人员提供了一个很好的方法。其类型的“可变”性,让许多用过的软件人员所心喜。但是在Delphi 2009以前的版本中,是从来没有的。让许多不会用Delphi中TList的人员,大大的抱怨。如果用好Delphi中TList,其可用性,我个人认为,比其它语言中的泛型好用很多(当然对指针的应用和内存的分配、释放不了解的人除外)。
自从Delphi 2009的发布,给许多喜欢用泛型技术的软件人员,提供了方便。由于Delphi 2009不太稳定,也没有过多的去用其泛型技术。Delphi 2010发布以来,出现许多“Delphi 2010初体验,是时候抛弃Delphi 7了”的话语的满天飞,让我想一看其究竟。
该日志标签: delphi, delphi2010, rad