RxLib Component library Delphi VCL Extensions (RX) Library,
was developed by Fedor Kozhevnikov, Sergey Korolev and Igor
Pavlyuk. This is free open source product that was very popular
among Delphi developers in ex-USSR and world.
Project development was stopped. Library was included in
JEDI Visual Component Library.
Homepage: http://homepages.borland.com/jedi/jvcl/
My own adaptation for 2009-2010. Highlights.
=====================================================================
I DO NOT GUARANTEE that EVERYTHING WAS CONVERTED!!! But...
I checked correctness of use of string types (string, Char, PCHar) in
every place where i found those types. Especially in the case of using
them as buffers.
These unites where changed especially hard:
1. Unit RxRichEd.pas:
- completely reworked methods of internal class TRichEditStrings
that work with files/streams LoadFromFile, LoadFromStream,
SaveToFile, SaveToStream accordingly to new features of CG2009
(to support overridden methods with parameter Encoding: TEncoding)
- Property TRxCustomRichEdit.StreamMode - for CG2009 flag smUnicode
was excluded from tje set of available:
TRichStreamMode = (smSelection, smPlainRtf,
smNoObjects{$IFNDEF RX_D12}, smUnicode{$ENDIF});
TRichStreamModes = set of TRichStreamMode;
Herewith, appropriate mode was enabled by default for the class
TRichEditStrings.
2. Unit rxDbutils.pas:
- replaced types:
TBookmark replaced Pointer;
TBookmarkStr replaced TBookmark;
PChar replaced TRecordBuffer (where it had sense).
Syntax:
{$IFDEF RX_D12}
TBookmarkType = TBookmark;
TBookmarkPointerType = Pointer;
TBuffer = TRecordBuffer;
{$ELSE}
TBookmarkType = TBookmarkStr;
TBookmarkPointerType = TBookmark;
TBuffer = PChar;
{$ENDIF}
These types where replaced by TBookmarkType, TBuffer,
TBookmarkPointerType in sources to keep compatibility with
previous Delphi versions.
3. Unit RxMemDS.pas:
- replaced types (similar to 2):
{$IFDEF RX_D12}
TBlobDataArray = array of TBlobData;
TBlobDataArrayType = TBlobDataArray;
TBlobDataType = TBlobData;
{$ELSE}
TMemBlobData = AnsiString;
TMemBlobArray = array[0..0] of TMemBlobData;
TBlobDataArrayType = ^TMemBlobArray;
TBlobDataType = TMemBlobData;
PMemBlobArray = ^TMemBlobArray;
{$ENDIF}
4. Unit rxCheckItm.pas:
- fixed error in property editor Items of component CheckListBox.
5. Other changes:
rxAppUtils.pas
- function StrToIniStr(const Str: string): string;
SizeOf(Buffer) changed to Length(Buffer)
- function IniStrToStr(const Str: string): string;
SizeOf(Buffer) changed to Length(Buffer)
- procedure IniDeleteKey(IniFile: TObject; const Section, Ident: string);
SizeOf(CSection) changed to Length(CSection)
SizeOf(CIdent) changed to Length(CIdent)
SizeOf(CFileName) changed to Length(CFileName)
rxCtrls.pas
- procedure TRxButtonGlyph.DrawButtonText(Canvas: TCanvas; const Caption: string;
TextBounds: TRect; State: TRxButtonState; Flags: Word);
SizeOf(CString) changed to Length(CString)
- procedure TRxButtonGlyph.CalcButtonLayout(Canvas: TCanvas; const Client: TRect;
var Caption: string; Layout: TButtonLayout; Margin, Spacing: Integer;
PopupMark: Boolean; var GlyphPos: TPoint; var TextBounds: TRect; Flags: Word;
Images: TImageList; ImageIndex: Integer);
SizeOf(CString) changed to Length(CString)
rxCurrEdit.pas
- function IsValidFloat(const Value: string; var RetValue: Extended): Boolean;
SizeOf(Buffer) changed to Length(Buffer)
rxDateUtil.pas
- function FormatLongDate(Value: TDateTime): string;
SizeOf(Buffer) changed to Length(Buffer)
rxExcptdlg.pas
- procedure TRxErrorDialog.ErrorInfo(var LogicalAddress: Pointer;
var ModuleName: string);
SizeOf(Temp) changed to Length(Temp)
SizeOf(ModName) changed to Length(ModName)
rxMenus.pas
- procedure RefreshMenuItem(MenuItem: TMenuItem; OwnerDraw: Boolean);
SizeOf(CCaption) changed to Length(CCaption)
RxRichEd.pas
- function TRichEditStrings.Get(Index: Integer): string;
SizeOf(Text) changed to Length(Text)
- function TRxCustomRichEdit.InsertObjectDialog: Boolean;
SizeOf(NameBuffer) changed to Length(NameBuffer)
- procedure TRichEditStrings.Put(Index: Integer; const S: string);
longint changed to LPARAM
- procedure TRichEditStrings.Insert(Index: Integer; const S: string);
var Fmt: PChar changed to Fmt: string
RxShell.pas
- function IconExtract(const FileName: string; Id: Integer): TIcon;
SizeOf(S) changed to Length(S)
RxToolEdit.pas
- procedure TFileDirEdit.WMDropFiles(var Msg: TWMDropFiles);
SizeOf(AFileName) changed to Length(AFileName)
rxVCLUtils.pas
- function GetEnvVar(const VarName: string): string;
SizeOf(S) changed to Length(S)
Rxverinf.pas
- function AppFileName: string;
SizeOf(FileName) changed to Length(FileName)
RxColors.pas
- function RxIdentToColor(const Ident: string; var Color: Longint): Boolean;
SizeOf(Text) changed to Length(Text)
rxDBRichEd.pas
- procedure TRxDBRichEdit.KeyPress(var Key: Char);
Key changed to AnsiChar(BytesOf(Key)[0])
RxLookup.pas
- procedure TRxLookupControl.ProcessSearchKey(Key: Char);
Key changed to AnsiChar(BytesOf(Key)[0])
- procedure TRxDBLookupCombo.KeyPress(var Key: Char);
Key changed to AnsiChar(BytesOf(Key)[0])
rxdbfilter.pas
- function TFilterExpr.PutConstStr(const Value: string): Integer;
SizeOf(Buffer) changed to Length(Buffer)
- function TFilterExpr.PutFieldNode(Field: TField): Integer;
SizeOf(Buffer) changed to Length(Buffer)
- procedure TExprParser.NextToken;
SizeOf(StrBuf) changed to Length(StrBuf)
Result:
- Packages compiled without errors, hints and warnings.
- Demo projects Rxdemo, Riched2, Gifanm32 compiled and work fine.
Other demos have been outdated too much, so I did not fix them...
- My working projects work fine.
===============================================================
Adaptation: psa1974
Feedback:
http://forum.ru-board.com/
http://www.dumpz.ru/
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
该 RXLIB 版本包含:Delphi6,Delphi7, Delphi2005,Delphi2006,Delphi2007,Delphi2009, Delphi2010, DelphiXE DelphiXE安装后注意最後要按install component。。。
资源推荐
资源详情
资源评论
收起资源包目录
RxLib v2.7.7 for D6,D7,D2005,D2006,D2007,D2009,D2010,XE Full Source (432个子文件)
Rxdemo.dproj.2007 5KB
Rxlib.bdsgroup 1KB
Rxlib.bdsgroup 1KB
dclrx.bdsproj 8KB
dclrx.bdsproj 8KB
rxctl.bdsproj 8KB
dclrxbd.bdsproj 8KB
rxbde.bdsproj 8KB
dclrxdb.bdsproj 8KB
rxdb.bdsproj 8KB
rxctl.bdsproj 8KB
dclrxbd.bdsproj 8KB
rxbde.bdsproj 8KB
dclrxdb.bdsproj 8KB
rxdb.bdsproj 8KB
rxwizards2005.bdsproj 8KB
rxwizards2006.bdsproj 8KB
toolimg.bmp 3KB
Tbimg.bmp 2KB
rx6.bpg 976B
rx7.bpg 976B
Dbexpl32.bpr 4KB
Riched2.bpr 3KB
RxDemo.bpr 3KB
RxGIFAnm.bpr 3KB
Rxd6.cnt 107B
ctrls.cpp 14KB
mainunit.cpp 10KB
PageDemo.cpp 7KB
DBAware.cpp 6KB
Tools.cpp 5KB
Dbexpl32.cpp 2KB
About.cpp 2KB
RxGIFAnm.cpp 1KB
RxDemo.cpp 1KB
Riched2.cpp 921B
LinkUnit.cpp 533B
Rxctlreg.d32 10KB
Rxtooreg.d32 9KB
rxdbreg.d32 5KB
rxbdereg.d32 5KB
Ctrls.dfm 125KB
ctrls.dfm 59KB
REMain.dfm 57KB
Tools.dfm 55KB
dbaware.dfm 35KB
Main.dfm 34KB
Pagedemo.dfm 31KB
Tools.dfm 26KB
Childwin.dfm 20KB
DBAware.dfm 19KB
Main.dfm 19KB
GifMain.dfm 18KB
mainunit.dfm 17KB
Main.dfm 17KB
PageDemo.dfm 16KB
About.dfm 13KB
Childwin.dfm 11KB
Optdlg.dfm 11KB
rxIcoledit.dfm 10KB
rxImagprvw.dfm 10KB
Optdlg.dfm 9KB
rxSbedit.dfm 8KB
rxPresrdsn.dfm 7KB
Gifprvw.dfm 7KB
rxMinmaxed.dfm 6KB
About.dfm 6KB
rxCheckitm.dfm 6KB
rxTimlsted.dfm 5KB
rxGradEdit.dfm 5KB
rxSbsetup.dfm 4KB
rxlogin.dfm 4KB
rxPictedit.dfm 4KB
rxDbexcpt.dfm 4KB
ParaFmt.dfm 4KB
rxExcptdlg.dfm 3KB
rxFduallst.dfm 3KB
rxPgmngred.dfm 3KB
Srctab.dfm 3KB
Editstr.dfm 3KB
Rxresexp.dfm 3KB
About.dfm 3KB
About.dfm 3KB
Editstr.dfm 3KB
Srctab.dfm 3KB
rxQbnddlg.dfm 2KB
Sqlmon.dfm 2KB
rxStrledit.dfm 2KB
Editpict.dfm 2KB
Editpict.dfm 2KB
Desttab.dfm 2KB
Desttab.dfm 2KB
Opendlg.dfm 2KB
Opendlg.dfm 2KB
Rxdirfrm.dfm 2KB
rxChpswdlg.dfm 2KB
Gifpal.dfm 2KB
Userhelp.dfm 2KB
Userhelp.dfm 2KB
Viewblob.dfm 1KB
共 432 条
- 1
- 2
- 3
- 4
- 5
资源评论
- fa35002015-01-15XE测试可用
- 秋霖2013-11-25谢谢楼主,好东西呀,还有XE的。只是有没有最新的XE5的呢!
- ai6543382742013-12-18还好吧 XE4下面不是很合适
道玄希言
- 粉丝: 372
- 资源: 52
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功