我最近在看《delphi4技术内幕》,
该书所附光盘上的Merc40.bpl和Unleash.bpl无法添加到delphi7的IDE中,
我尝试着对这些包重新编译,
可是编译中会出错,
请问有何良策?
这问题我也问过
如果是FORM类的CAPTION问题
可以用如下方法 如不是贴出错误内容
例如:
object Form1: TForm1
Left = 192
= 114
Width = 696
Height = 480
Caption = #20013#25991#26631#39064
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = MS Sans Serif
Font.Style = []
OldCreateOrder = False
PixelsPerInch = 96
TextHeight = 13
object Button1: TButton
Left = 272
= 352
Width = 75
Height = 25
Caption = Button1
TabOrder = 0
OnClick = Button1Click
end
end
改成:
object Form1: TForm1
Left = 192
= 114
Width = 696
Height = 480
Caption = Form1
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = MS Sans Serif
Font.Style = []
OldCreateOrder = False
PixelsPerInch = 96
TextHeight = 13
object Button1: TButton
Left = 272
= 352
Width = 75
Height = 25
Caption = Button1
TabOrder = 0
OnClick = Button1Click
end
end
建议最好还是不要乱改,新版本自然有相应的包,可以在网上找~~~~~~~~~`
我下载了很多包,里面包含了三个版本:D5,D6,D7~~~~~~~~~~
如果强行修改的话,使用的时候很容易出现一些意想不到的错误,这会更麻烦!