从EMule上下载了一个ISO的镜像,安装还是比较顺利的,但是激活的时候,出了点意外
用“[应用程序开发工具].Embarcadero.RAD.Studio.XE2.Architect.CRACK.ONLY-CST.zip”,里面的bds.exe替换一下,根本启动不了ide,导致我重新修复了一下,才算是搞定,还好不用重装。
最后,还是用盒子上lsuper的activator 5.2,一下子就搞定了。
今把一个项目从C++ Builder 6迁移到 C++Builder 2007时,编译时出现该问题
虽然有个控件是有改动,但是报错的都是标准的控件,如groupbox,edit等,另发现,报错的好像都是修改过name属性的,就是跟用组件前缀修改过的一样的名字:如grp1,edt1,edt2等,好像这样的名字,都会报错。
解决办法:
把报错所在行的控件的名字都修改了,保存。
重新编译即可。
CodeTyphon是一个lazarus的集成mod版本,集成了许多的第三方控件,1.70版本已经发布,可以发现,lnet和indy等库已经移植到wince了,不用担心wince下网络库的缺乏了。
changed log:
======> 22-May-2011 ver 1.70 ================================================= -ADD pl_Graphics32VPR ,Vectorial Polygon Rasterizer for Graphics32 (Win32, Win64, WinCE) -ADD pl_BGRAcontrols ,Visual Components for pl_BGRAbitmap library (Win32, Win64, Linux32, Linux64, WinCE) -ADD pl_pl_ZenGLD3D ,ZenGL library for DirectX (Win32, Win64) -Rename/Update pl_mooncomp to pl_GeoGIScomp (Win32, Win64, WinCE, Linux32, Linux64) -Update/Fix pl_freefpider -Update pl_Synapse (SVN 20-5-2011) -Update pl_BGRAbitmap (SVN 20-5-2011) -Update pl_ZenGL (SVN 20-5-2011) -Update pl_GLScene (SVN 22-5-2011) -Update pl_LNetComp (SVN 20-5-2011) -Update pl_KambiEngine (SVN 20-5-2011) -Update pl_LNetComp (SVN 20-5-2011) -Update pl_FortesReport (SVN 20-5-2011) -Update pl_OpenWire (SVN 20-5-2011) -Port pl_Graphics32 to WinCE -Port pl_Synapse to WinCE -Port pl_lNet to WinCE -Port pl_Indy to WinCE -Port pl_VisualPlanIt to WinCE -Port pl_APE to WinCE -Port pl_DCP to WinCE -Port pl_FreeSpider to WinCE -Port pl_PowerPDF to WinCE -Port pl_OpenWire to WinCE -Port pl_GLScene to Linux32 and Linux64 (Manual installation to Lazarus IDE for Linux) -Port pl_KambiEngine to Linux32 and Linux64 (Manual installation to Lazarus IDE for Linux) NOTE: Lazarus 0.9.31 Source from SVN 22-05-2011 Rev 30845 FreePascal 2.5.1 Source from SVN 19-05-2011 Rev 17500
Lazarus 0.9.31
jp:=TJSONParser.Create(UTF8Encode(pl));
try
adList:=jp.Parse as TJSONArray;
报错:
An exception was raised on the server: string exceeds end of line
其中,pl包含从memo中返回的text值,用superobject的asjson(false,false)编码
其实,就是包含了”’#10’”的字符
ModelMaker Code Explorer是Delphi标准编辑器的替代品,它完全支持Delphi5,6,7,8以及C#Builder。它提供了下列元素:1、浏览器(Brower ):用来增强在IDE中的导航体验;2、结构化的编辑器:使用与ModelMaker相同的方法创建、编辑、删除和拷贝类、成员及模块过程;3、支持每日进行的重构:如提取方法、提取类、重命名参数等等;4、IDE编辑器增强:如添加本地变量,添加方法等等。
CodeTyphon is a "Visual Pascal Programming Platform",
with Lazarus+FPC+Tools+Free Components+Free Libraries and all these with full source.
Is a Distribution of Lazarus IDE and FreePascal compiler…
更新:
======> 16-Mar-2011 ver 1.50 ================================================= -ADD Cross Build Targets: - armeb-Linux (freepascal only) -ADD pl_LNetComp samples to CodeOcean -ADD more pl_GLScene samples to CodeOcean -Update pl_GLScene (SVN 16-3-2011) -Update pl_KambiEngine (SVN 16-3-2011) -Update pl_BGRAbitmap (SVN 16-3-2011) -Update pl_ZenGL (SVN 16-3-2011) -Update pl_LNetComp (SVN 16-3-2011) NOTE: Lazarus 0.9.31 Source from SVN 16-03-2011 Rev 29875 FreePascal 2.5.1 Source from SVN 06-03-2011 Rev 17141
下载:
Server 1 (main Server)
Server 2 (Filefactory.com)
Server 3 (Fileserve.com)
DelForEx 是Delphi IDE的代码格式化工具,可快捷整理当前编辑的pas,dpr文件的代码格式。
修改记录:
添加Delphi XE 支持
修改默认快捷键为Ctrl+Shift+D ,防止快捷键冲突
【下载】
dropbox:http://dl.dropbox.com/u/1813734/DelForEx_2.5.4.zip
dbank: http://dl.dbank.com/c00xij3inr
需要源码的,留言。
DelforExp
看起来像是官网,有提供原始版本的下载,甚至是之前说是不开源的delfordll的源码
http://www.aew.wur.nl/UK/Delforexp/
delforex for gexpert的集成
http://www.dummzeuch.de/delphi/gexperts/english.html
另外GExperts的网站
可惜,没找到源码下载链接
几个有用的Delphi网站
方法1
procedure WMSysCommand(var Msg : TWMSysCommand); message WM_SYSCOMMAND;
[pascal]
// SWITCH OFF THE SCREENSAVER AND THE MONITOR POWER SAVER IF THEY TRY TO CUT IN
procedure TForm1.WMSysCommand(var Msg : TWMSysCommand);
begin
//catch the message and turn it off
if (Msg.CmdType = SC_MONITORPOWER) or (Msg.CmdType = SC_SCREENSAVE) then
begin
Msg.Result := -1;
end
else
inherited;///Otherwise do whatever is supposed to be done
end;
[/pascal]
方法2:
type
EXECUTION_STATE = DWORD;
const
ES_SYSTEM_REQUIRED = DWORD($00000001);
ES_DISPLAY_REQUIRED = DWORD($00000002);
ES_USER_PRESENT = DWORD($00000004);
ES_CONTINUOUS = DWORD($80000000);
function SetThreadExecutionState(esFlags: EXECUTION_STATE): EXECUTION_STATE; stdcall; external kernel32;
Lazarus中,Windows没有定义SetThreadExecutionState,需自己定义,然后
SetThreadExecutionState(ES_DISPLAY_REQUIRED or ES_CONTINUOUS); // this will fix current state and disable screensaver
一个Lazarus的项目,在重新安装了新版本的Lazarus 后,编译都通过了,但是链接是出现
Error: Undefined symbol: FPJSON_TJSONOBJECT_$__GETFLOATS$ANSISTRING$$DOUBLE
搜索到Lazarus的论坛http://lazarus.firmos.at/index.php?topic=7683.0
提到可能是ide或者是fpc的问题,考虑到之前有修改过fpjson的源码,怀疑是这个问题,于是重新编译了fpc
重新编译,问题依旧。
查看工程选项,修改resource类型为fpc resource,原来是lrs的
重新编译,一切顺利。
并且,原来编译新版的geckport,老是出错,这次编译,一次成功,gecko组件在设计时添加了背景图
呵呵,挺不错的吧。