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

4 to 7 Upgrade

Status
Not open for further replies.

sggaunt

Programmer
Jul 4, 2001
8,620
GB
Well im finally in a position to upgrade to 7,
problem is a couple of large projects are ongoing (No database stuff)

Would any one recommend any of these approachs:-

Only starting new projects in 7 and continue on going projects in 4, Is this possible at all, what will happen to my D4 install when D7 is installed?

Migrate the on going projects to 7, is this worth the hassle.

Migrate my entire catalouge to 7 in the region of 20 applications (but no database apps)

I use several 3rd party components if anyone knows any specific problems with
TGifimage (might not even need this with D7?)
EHSHelprouter (or does D7 have support for HTML help?)
CPortLib (I know there are problems migrating this to D6 but I have sorted it before)

The Help implies that you can just open a previous version project and it will be converted, but I am doubtful.



Steve:
A Delphi Programmer
A Feersum Endjinn indeed
 
2 important things :

- install D7 in a separate path (thus also the common dir)
it should work with D4 since the registry entries are different. only problem could be the BDE if you're using it.
- first try to migrate your components to D7 and TEST them before upgrading your apps. the components you mention will also be needed in D7.

I did several migrations , started in D2 all up to D2005, biggest problems for me were the jump from D2 to D4 and from D5 to D6. jumping from D6 to higher was not so difficult since only a simple package rename and recompile was needed for the components I use. One important lesson I learned since I started using Delphi, is that having the component source code is almost a must if you want to migrate to the latest delphi version.

Cheers,
Daddy

--------------------------------------
What You See Is What You Get
 
I don't use 3rd party components, so can't comment there. The main thing I had to do was add variants to the uses clause in some units.

 
Update:
Install went Ok, and runs no clashs with D3 (on this machine).
But: I imported my largest app written in D4 (as a trial)
Hmm not exactly painless, sevaral captions dissapeared, two out of two Actions Lists vanished (quite a lot of work to rebuild those i think), and the Toolbar messed up compleatly, most image indexes were set to 0 and all the icon backgrounds went to black also on replacing images in the image list they now appear with a white background. Possibly have to rebuild the entire imagelist with transparent set initally, or replace it with an XP component?



Steve:
A Delphi Programmer
A Feersum Endjinn indeed
 
Hmm not exactly painless, sevaral captions dissapeared,
Could you (try to) save the Forms in text-mode, or doesn't D4 support that yet? Can also solve the other issues. (Haven't used D4 for several years, and currently not even installed)

Parallel installed these version-sets in the past without problems:
[D1, D2, D3, D4, D5]
[D3, D4, D5, D6]
[D3, D4, D5, D7]
[D5, D7] (Current set) D5 = 'lean and mean', D7 = 'new and improved (XP), yet quite stable'

BTW, D6 was too buggy (original release) to be usable for serious development and I couldn't get at the updates at that time. D8 was just a toy, D2005 I can't afford yet ;-)

HTH
TonHu
 
Cheers Tonhu, I dont think there is anything that can be sorted fairly easily it's just the time on a 'finished application',
No save as form in D4? Dont think so, I don't have it here I will check later.
The biggest problem generally seems to be that the HTML help router component wont work for context sensitive help. I tried the 'fixes' they suggest in the docs. (same people who do Help and Manual) I have contacted ther help desk but no reply as yet.



Steve:
A Delphi Programmer
A Feersum Endjinn indeed
 
The helprouter problem turned out to be because Application.helpcontext is no longer supported.

Do this instead where N is the context number
Application.HelpCommand(HELP_CONTEXT, N);


Steve:
A Delphi Programmer
A Feersum Endjinn indeed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top