Common Installation Problems, Known Bugs

RX Library

Common Installation Problems and Known Bugs


Q: Each time I try to recompile the library I get an error saying that "SHLOBJ" is missing while processing the FileUtil.pas file. I have tried searching throughout my system for ANY reference of this file. Is there a update that I missed?

A: SHLOBJ is a file that is part of Delphi 2.0 OpenApi. Hence, it is not distributed with Delphi. It is only distributed as a DCU file. You will have to add the path where SHLOBJ.DCU is into your environment path to compile Rx Library.

Addendum: Delphi 2.0 definitely does not have such a unit. To install RXLibrary 2.40 into Delphi 2.0 download patched version of FILEUTIL.PAS unit: FileUtil.pas unit for Delphi 2.0 [futil240.zip]


Q: I've just installed the RxLib but got some error running their DEMO. The error related to the component TDateEdit.  When I run the DEMO, I got:-

..\ToolEdit.pas (1838): Undeclared Identifier: 'CreatePopupCalender'
..\ToolEdit.pas (1995): Undeclared Identifier: 'SetupPopupCalender'

A: One of RxLibrary's filename for the date operation is called PickDate.pas, which is a modified version of a version found in \Delphi\Demo\Db\MastApp\PickDate.pas. Check or examine your Delphi environment paths for any duplicate 'PickDate.pas' filenames. If found, please rename these duplicates so they will not conflict with Rx library version of PickDate.Pas


Q: Using the TRxDBComboEdit component from RX 2.40 gave some trouble when hitting the button. The event OnButtonClick works only when the dataset is in edit-mode.
A: You need to rewrite TRxDBComboEdit.Create constructor as following:

constructor TRxDBComboEdit.Create(AOwner: TComponent);
begin
    {...}
    AlwaysEnable := True; { !! add this line }
end;


Q: Exception 'No SQL statement available' when opening form with TRxQuery that contains no macros and has Active = True.
A: Change RxQuery.pas as following:

procedure TRxQuery.ExpandMacros;
var
    ExpandedSQL: TStringList;
begin
    if not FPatternChanged and not FStreamPatternChanged and
      (MacroCount = 0) then Exit;
...


Q: I'm trying to install RxLib version 2.40 into Delphi 3.0 IDE. Everything goes right, after installing I can use components and compile demo projects. The problem starts when I close Delphi and run again. Then I get error message saying that Delphi was unable to locate a file required for each of the component packages.

A: You must put compiled RX Library run-time packages (DPL files - RXCTL.DPL, RXTOOLS.DPL, RXDB.DPL) into directory that is accessible through the search PATH (i.e. DOS "PATH" environment variable; for example, in the Windows\System directory).


Q: Compilation errors installing RX Library components into Delphi component library.
A: Perhaps, there are another units or resource files in your Delphi search path (Library Path) named the same as one of the RX Library unit or resource file. Try to rename one of these modules or not to install some of the concurring third-party components (don't forget to remove it from the search path).


Q: Compiler displays an error like "Internal Error ????".
A: If there is no other component with a similar name or you already have removed such a component and this error still occurs, try disabling Optimization in the compiler settings.


Q: Error "RLINK32: OUT OF MEMORY" during installation RX Library under Delphi 2.0.
A: There is minor bug in Delphi 2.0 (not 2.01). If you are getting this error while rebuilding your component library with RX components you should recompile resource sources (*.RC) using BRCC32.EXE from your Delphi BIN directory to produce resource files (*.RES and *.DCR) compatible with your version of Delphi 2.


Index Page | About | Download
Creation Date: 4 Feb 1998 | Last Update: 16 Mar 2000