Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

convert Delphi 7 package to Turbo Delphi.Net

Status
Not open for further replies.

poinsy

Programmer
Jul 22, 2008
4
GB
I have been tasked with getting some old code to compile. The code was written around 2003 using Delphi 7. It basically uses Ado to read and update a database using stored procedures, all via a nice front-end. Anyway, I have downloaded the free Turbo Delphi.Net hoping to convert it (could not find a download for the original development tool, Delphi 7). However, it complains that it cannot find rtl.dll, dbrtl.dll, adortl.dll and vcl.dll. These dlls are not on my PC as I have done a full search.

In the .dpk file is the following:
.
.
.
requires
rtl,
dbrtl,
adortl,
vcl;
.
.
.
Any ideas how I can get this thing compiling?

cheers
Paul
 
Is there a particular requirement for .NET on this app? If you're simply looking for compilation, there is a Turbo Delphi Win32 that you could download and try against it.

Other than that, I don't know what to tell you (.NET is a different animal than straight Win32).

----------
Measurement is not management.
 
Borland/Codegear/Espidislano-something-or-other typically doesn't allow database access in their low end product offerings. It might be different for the turbo stuff but Delphi was that way.
 
Thanks guys. I managed to find our Delphi 7 CDs and have attempted to get this project to compile, as this is what it was originally written in.

A problem I am having now is that it fails to locate some DCU files, for instance rxToolEdit.dcu:

[Fatal Error] RXDBCtrl.pas(27): File not found: 'rxToolEdit.dcu'

Scouring the web has provided me with the source for this, so I have rxToolEdit.pas, but it is after the dcu file, can I generate this myself?

Once again, thanks for pointing me in the right direction.
 
A .DCU is the compiled output of a .PAS file. The compiler links them all together to form the .EXE
[Fatal Error] RXDBCtrl.pas(27): File not found: 'rxToolEdit.dcu'
For each ot these errors, you need the corresponding .PAS file and the compiler must be able to find it in your defined search path.

RxLib was a complete component package. It has changed hands and is now part of JVCL which can be found on sourceforge. BUT, most of the .PAS files have changed name and structure. You can use the old RxLib, but you must have them all, as you are finding out, since all of the modules (units) in RxLib are interdependent.

If you will be doing more coding than just fixing this one app, you will be much better off to delete all of RxLib and install JVCL. You will then need to change all the USES clauses in your app from the RxLib unit names to the corresponding JVCL unit names. Yes, that will be some work but many of us have done it.


Roo
Delphi Rules!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top