 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Ruslan Popov Guest
|
Posted: Sun Jul 18, 2004 2:08 am Post subject: Porting Win32 applications to Delphi 8 |
|
|
Hello,
Have anybody ported a Win32 application to Delphi 8 / VCL? How are your
impressions? Does it make sense to take effort, or staying with Delphi 7
isn't that worse?
Thanks,
Ruslan
|
|
| Back to top |
|
 |
Bob Swart Guest
|
Posted: Sun Jul 18, 2004 8:02 am Post subject: Re: Porting Win32 applications to Delphi 8 |
|
|
Hi Ruslan,
| Quote: | Have anybody ported a Win32 application to Delphi 8 / VCL? How are your
impressions?
|
Depends on your project, but for VCL GUI apps, it worked out just fine.
See also the white paper "Migrating Borland Delphi apps to the .NET
Framework with Delphi 8" (Jan 2004) at
http://www.borland.com/products/white_papers/pdf/del_migrating_delphi_win32_to_dotnet.pdf
| Quote: | Does it make sense to take effort, or staying with Delphi 7 isn't that worse?
|
I'd make the effort. Read also Danny Thorpe's article on Why VCL for
..NET? at http://bdn.borland.com/article/0,1410,31983,00.html
Groetjes,
Bob Swart (aka Dr.Bob - www.DrBob42.com)
--
Bob Swart Training & Consultancy (eBob42) Borland Technology Partner
Delphi Win32 & .NET training en support - IntraWeb Authorized Trainer
|
|
| Back to top |
|
 |
Lauchlan M Guest
|
Posted: Sun Jul 18, 2004 11:59 am Post subject: Re: Porting Win32 applications to Delphi 8 |
|
|
Why?
Not being sarcastic or trolling, but I'm interested in what are the specific
reasons why you would move new apps or port old apps to .net rather than
stay on Delphi for Win 32?
Lauchlan M
|
|
| Back to top |
|
 |
Captain Jake Guest
|
Posted: Mon Jul 19, 2004 2:13 pm Post subject: Re: Porting Win32 applications to Delphi 8 |
|
|
"Lauchlan M" <LMackinnon (AT) NOSPAMHotmail (DOT) com> wrote
| Quote: | Why?
Not being sarcastic or trolling, but I'm interested in what are the
specific
reasons why you would move new apps or port old apps to .net rather than
stay on Delphi for Win 32?
|
Presumably that is nearly equivalent to asking why someone should use .NET
instead of Win32. I can see why .NET might be compelling for new apps,
depending on the deployment circumstances. Nicer threading, GC (if you go
for that kind of thing), etc.
--
Read Jake's Blog!
http://blogs.slcdug.org/jjacobson/Rss.aspx
|
|
| Back to top |
|
 |
Lauchlan M Guest
|
Posted: Mon Jul 19, 2004 2:35 pm Post subject: Re: Porting Win32 applications to Delphi 8 |
|
|
| Quote: | Not being sarcastic or trolling, but I'm interested in what are the
specific
reasons why you would move new apps or port old apps to .net rather than
stay on Delphi for Win 32?
Presumably that is nearly equivalent to asking why someone should use .NET
instead of Win32.
|
Pretty much - except qualified by 'for programming' and 'using Delphi'.
Bob's "I'd make the effort." sounded like a ringing endorsement of a
move/port, but I don't see any need for an immediate move, and the benefits
seem equivocal for Delphi programmers (as opposed to MS Visual Studio
programmers). So I was wondering what Bob thought was so good about .net
that it warrants a move in the short/medium term (as opposed to just staying
current with the technology by playing around with it).
| Quote: | I can see why .NET might be compelling for new apps,
depending on the deployment circumstances. Nicer threading, GC (if you go
for that kind of thing), etc.
|
GC strikes me as neither here nor there. I can see there are nice features
in .net, eg reflection, and I take your word for it on the threading. But I
haven't seen or heard any compelling reason for making the move now.
It's obviously different for Dr. Bob as he has to train people so he needs
to use it. But why should anybody else prefer it?
Lauchlan M
|
|
| Back to top |
|
 |
Marc Rohloff [TeamB] Guest
|
Posted: Wed Jul 21, 2004 12:46 am Post subject: Re: Porting Win32 applications to Delphi 8 |
|
|
On Tue, 20 Jul 2004 00:35:04 +1000, Lauchlan M wrote:
| Quote: | Bob's "I'd make the effort." sounded like a ringing endorsement of a
move/port, but I don't see any need for an immediate move, and the benefits
seem equivocal for Delphi programmers (as opposed to MS Visual Studio
programmers). So I was wondering what Bob thought was so good about .net
that it warrants a move in the short/medium term (as opposed to just staying
current with the technology by playing around with it).
|
I would agree that for a large number of applications .NET is not a
good move now.
However I think you don't want to get caught out. IMO Java and .NET
will be the two major players in the foreseeable future. You have to
choose one or both and make sure that you know the technology and are
gradually moving programs over. Some types of applications (web, web
services, server tiers) obviously make more sense than others (GUI,
Console) right now.
--
Marc Rohloff [TeamB]
marc rohloff at myrealbox dot com
|
|
| Back to top |
|
 |
Lauchlan M Guest
|
Posted: Wed Jul 21, 2004 1:56 am Post subject: Re: Porting Win32 applications to Delphi 8 |
|
|
| Quote: | However I think you don't want to get caught out. IMO Java and .NET
will be the two major players in the foreseeable future.
|
That's plausible, for sure.
| Quote: | You have to
choose one or both and make sure that you know the technology
|
agreed, this makes some sense to me . . .
(But only if you want to stay in programming for a living. The other option
is to get out and do something else if programming is no longer RAD / fun.)
| Quote: | and are
gradually moving programs over.
|
But I don't see why this follows. It's one thing to keep up to date with new
technology, it's another thing to decide that this new technology is more
productive or offers other business advantages to make it worth porting
existing apps over to it.
I find Delphi for Win 32 more productive than Delphi for .net or VS.net, and
Win32 will be supported in future versions of Windows. So the only logic I
see for moving things over is that, although you spend the time, effort and
money to port it, and development then takes longer again costing businesses
more money, the developers are then picking up deeper and more practical
experience in .net programming. I guess it depends on how big your
commitment is now to .net as a future.
| Quote: | Some types of applications (web, web
services, server tiers) obviously make more sense than others (GUI,
Console) right now.
|
Why are any of those necessarily better on .net than on Delphi with
appropriate 3rd party components (EWF/IW, RemObjects, etc)?
Regards,
Lauchlan M.
|
|
| Back to top |
|
 |
Marc Rohloff [TeamB] Guest
|
Posted: Fri Jul 23, 2004 1:57 am Post subject: Re: Porting Win32 applications to Delphi 8 |
|
|
On Wed, 21 Jul 2004 11:56:23 +1000, Lauchlan M wrote:
| Quote: | (But only if you want to stay in programming for a living. The other option
is to get out and do something else if programming is no longer RAD / fun.)
If you want to stay in programming then keeping up with technology |
change is going to be a way of life.
| Quote: | and are
gradually moving programs over.
But I don't see why this follows. It's one thing to keep up to date with new
technology, it's another thing to decide that this new technology is more
productive or offers other business advantages to make it worth porting
existing apps over to it.
|
Because things are going to change. You probably don't want to get
caught trying to play catch-up.
| Quote: | Some types of applications (web, web
services, server tiers) obviously make more sense than others (GUI,
Console) right now.
Why are any of those necessarily better on .net than on Delphi with
appropriate 3rd party components (EWF/IW, RemObjects, etc)?
|
Possibly, but they will be an important technology and if you want to
start somewhere then here is a good place to start.
--
Marc Rohloff [TeamB]
marc rohloff at myrealbox dot com
|
|
| Back to top |
|
 |
Atmapuri Guest
|
Posted: Fri Jul 23, 2004 11:00 am Post subject: Re: Porting Win32 applications to Delphi 8 |
|
|
Hi!
| Quote: | Have anybody ported a Win32 application to Delphi 8 / VCL? How are your
impressions? Does it make sense to take effort, or staying with Delphi 7
isn't that worse?
|
1.) If your code uses pointers with @ and ^ some areas may need
a complete rewrite.
2.) Your app will run noticably slower than in D7. (3-5x is said to be
the standard). I can confirm that.
Those are the immediate results. If your app "requires" to work
with WinAPI or other W32 dll's interfacing those from .NET will be much more
difficult than it is in Delphi 7.
DotNet has a very big set of classes and features. I am sure you wont be
dissapointed once you start exploring them, if you can forget about
about some of the speed.
Regards!
Atmapuri
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|