Solved

Using TElasticForm component in DELPHI 2005

Posted on 2007-03-21
7
846 Views
Last Modified: 2013-12-25
I have an application developed in DELPHI 7. When i run the application in DELPHI 2005, it says the error "Fatal Error: Could not compile used unit Elastfrm.pas" since missing of a component TElasticForm. I have the files \elastfrm\delphi7\elastfrm.dcr, elastfrm\delphi7\elastfrm.dcu and \elastfrm\elfrmreg.pas files.

When i tried creating a package using the pas file elfrmreg.pas it says that "[Fatal Error] elfrmreg.pas(28): F1026 File not found: 'ElastFrm.dcu'"

code unit of elfrmreg.pas
//*******************************************************************//

unit ElFrmReg;


(*****************************************************************************)
(*                           ElasticForm 7.0                                 *)
(*****************************************************************************)
(*               Copyright 1998-2002 Q-Systems Engineering                   *)
(*                       All Rights Reserved Worldwide                       *)
(*****************************************************************************)
(*               This source code is the exclusive property of:              *)
(*                           Q-Systems Engineering                           *)
(*                           29563 Greenwood Lane                                        *)
(*                          Evergreen, Colorado 80439                                     *)
(*****************************************************************************)
(*        Unauthorized distribution or disclosure of this source code        *)
(*                 or modification or removal of this notice                 *)
(*               constitutes a breach of the license agreement               *)
(*****************************************************************************)

interface

uses Classes;

procedure Register;

implementation

uses ElastFrm;          // ------------------------- ERROR OCCURS at this line while compiling the package

{$R ElastFrm.DCR}
procedure Register;

begin
  RegisterComponents('QSysGraph', [TElasticForm]);
end;


end.

//*********************************************************//

Can anyone tell me how to create a package with these files and to have TElasticForm component in the application? I want to run the application in DELPHI 2005 eventhough it was developed using Delphi 7
0
Comment
Question by:str_kani
  • 4
  • 2
7 Comments
 
LVL 21

Expert Comment

by:ziolko
ID: 18762675
\elastfrm\delphi7\elastfrm.dcr
\elastfrm\delphi7\elastfrm.dcu
\elastfrm\elfrmreg.pas files

make sure all paths are intact

ziolko.
0
 
LVL 21

Expert Comment

by:ziolko
ID: 18762677
btw.
(*        Unauthorized distribution or disclosure of this source code        *)
(*                 or modification or removal of this notice                 *)
(*               constitutes a breach of the license agreement               *)

i'll pretend that i never saw this :)

ziolko.
0
 
LVL 12

Author Comment

by:str_kani
ID: 18762803
Do you mean that elastfrm.dcr, elastfrm.dcu and elfrmreg.pas files
to be in the same path? if so, i tried that too but having all the files in the same path.

I ahhave download the elastfrm.zip from this url

http://gd.tuwien.ac.at/softeng/delphi/ftp/d10share/elastfrm.zip
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 21

Assisted Solution

by:ziolko
ziolko earned 100 total points
ID: 18762951
well looks like my d2006 won't compile it without pas file

ziolko.
0
 
LVL 18

Accepted Solution

by:
Johnjces earned 400 total points
ID: 18769114
Simply, this unit or component was compiled using Delphi 7 and the resulting DCU is a D7 DCU.

Without the pascal file, elastfrm.pas, you will never get installed in anything other than Delphi 7, unless you obtain from the author a dcu compiled with Delphi 2005 or 2006, whichever you are using.

All the author supplied were DCU files for D1 through D7.

John
0
 
LVL 12

Author Comment

by:str_kani
ID: 18778883
ok John. Thank you for your comment
0
 
LVL 21

Expert Comment

by:ziolko
ID: 18778907
str_kani sorry i couldn't be more helpful and yhanks for points

ziolko.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now