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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Upgrading From Delphi 3 - Advice required

Status
Not open for further replies.

zoltarboi

IS-IT--Management
Jul 31, 2008
3
IE
HI,

I have tried to search for tips on upgrading from Delphi 3 in this forum, but could not find anything.

Can anyone help with the following:

I am new to Delphi, and have been given the task of migrating 2 systems, both running on Delphi 3, to a supported version. I have done something similar with Powerbuilder, but hit an issue with direct migrating from one version to another.

Is it possible to go from D3 to either Delphi 2006 or Delphi 2007, or do I need to migrate to an intermediate level first and then to the final version.

Any help would be much appreciated.
 
as with any delphi upgrade, things change.

opening a d3 app in d2007, shouldnt be a problem.
if your d3 app has any 3rd party components you will have to find newer versions, migrate them across (if you have the source) or find alternatives.

Aaron
 
Thanks aaronjme,

I had hoped it would be straightforward.

I do know we have a VCL called TEncrpyt so I'll need to follow up on that.

Appreciate the response
 
It's not a direct transition. As you can well know, many things will change between what compiled in Delphi 3 and the upgraded versions. Much will work, but a lot won't, too, so test thoroughly. Mostly, though, you will find a number of new features related to the source.

You will find a number of compiler errors, and a few odd functionality changes. For example, you can simply assign a new value to Position of a trackbar without problems in Delphi 3. In newer versions, this triggers the OnChange event, which is something generally not wanted. As a result, you'll have to do something like this:

Code:
TrackBar1.OnChange := nil;
Trackbar1.Position := MediaPlayer1.Position;
TrackBar1.OnChange := TrackBar1Change;

HTH some.

----------
Measurement is not management.
 
Thanks Glenn9999,

I am a great advocate of "Test, Test and RE-Test", so this is top of the agenda.

Appreciate the warning - looks like I'll be fixing and re-compiling
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top