[DUG] Delphi 7 to Delphi 2009
Paul A Norman
paul.a.norman at gmail.com
Fri Feb 20 11:13:05 NZDT 2009
Truth is, needeing to rely on 3rd party controls from companies that didn't
keep going or opensource when they went out of D. - I have a copy of D4.
Prof. on a legacy machine that gets fired up simply to update
that application for people.
I am starting to think that if important 3rd party controls have had to be
relied on without source - a virtual language barrier effectively exists now
against the newer version of D. for some important work.
May be someone like Code Gear could look at some process where by previous
.dcus could be registered for interested parties to establish that the
original author has gone without trace - would depend on USA law no doubt,
and then after such a due proces disasemble them for previous users?
Paul
2009/2/20 John Bird <johnkbird at paradise.net.nz>
> So what sorts of things were no problem, and what sorts of things were a
> problem?
>
> If I think of what sorts of things are in my code, there is quite a lot to
> do with getting the character code of string[i], lots of use of
> length(string), relying on alphabetic sorting of stringlists, calling
> ansipos to find the position of a substring within a string, code such as
> if string[i] > #32. and crlf:=#13#10. From what I have read most of
> this stuff should be fine.
>
> Please tell us the sorts of danger areas to look out for!
>
> >From my days in another language whcih was portable across Windows and
> Unix
> I got used to isolating anything to do with OS variances - for instance
> defining CRLF as a constant ( #13#10 in Windows and #10) in Unix etc. I am
> still trying to keep that in the somewhat remote chance that a linux/OSX
> version of Delphi might magically appear some day.
>
> Its a good idea to have an idea of which type of code are portable across
> ANSI and UNICODE strings as well...
>
> John
>
> I have converted 2 programs over. If you have updated all your 3rd party
> components, and you don't do anything funny with strings then it is quite
> straight forward. If you do anything strange with strings, it can be a
> pain
> in the arse.
>
> One program took about 2 hours to convert, the other took about 20.
>
> Sean
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
> unsubscribe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20090220/90162554/attachment.html
More information about the Delphi
mailing list