Solved

Using TElasticForm component in DELPHI 2005

Posted on 2007-03-21
7
876 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

739 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