Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Dec 12th, 2007, 8:39 AM   #1
ghaith
Newbie
 
Join Date: Dec 2007
Posts: 2
Rep Power: 0 ghaith is on a distinguished road
Convert win32 to .NET applications

hello,
My company is considering a (long needed) switch from delphi 5 to .NET, and i wonder if there's a way to simply convert the application as i noticed that almost all the components we used are not there..

Thank you
ghaith is offline   Reply With Quote
Old Dec 12th, 2007, 7:54 PM   #2
lectricpharaoh
Caffeinated Neural Net
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Wet west coast of Canada
Posts: 1,120
Rep Power: 5 lectricpharaoh will become famous soon enough
Re: Convert win32 to .NET applications

While there are apparently automated language conversion tools available, I can't comment as to how well they work. However, they seem to be mainly syntactic in nature, meaning they'll convert the language syntax, but if the APIs and other components used are not available, they won't help much.

Make no mistake- something like this is not a trivial task, and will probably require a lot of time and effort to complete, not to mention the inevitable bug fixes. If you're talking about a single application, it might not be too bad (particularly if it's a small app), but if you're talking about converting a large code base, then you've got your work cut out for you.

What you really have to consider, though, is what the business rationale for the conversion is. In other words, how do you justify the potential costs? While wanting to get away from a Pascal code base is understandable, at least to someone scarred for life by Turbo Pascal in high school, it's not really valid from a business perspective.
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot.
- Vaarsuvius, Order of the Stick
lectricpharaoh is offline   Reply With Quote
Old Dec 13th, 2007, 2:41 AM   #3
Klipt
Hobbyist Programmer
 
Join Date: Dec 2005
Posts: 118
Rep Power: 0 Klipt is an unknown quantity at this point
Re: Convert win32 to .NET applications

Newer versions of Delphi can compile directly to .net. Check out these Google search results, e.g. http://www.delphibasics.co.uk/NetArt...e=NETForDelphi

Quote:
The Delphi VCL
Borland wisely respected the existing non-.Net Delphi user and application base, and provided a gentle migration path into .Net. At the same time, however, they introduced a bit of confusion. How can it be that the original Visual Component Library (VCL) is available for .Net applications? Surely you must use the .Net Framework visual components and classes?

Not true - the VCL was developed as a wrapper to .Net Framework - extending the framework classes to suit the existing users with their familiarity of VCL.

This allows existing applications to be migrated to .Net with relatively little change, and allows users to write new applications in .Net without a huge learning curve. It also allows new applications to be written once, but compiled into Win32 and .Net applications.

However, the VCL implementation creates Windows platform specific code, and for this reason, is not recommended for new .Net applications.

It is not clear how long VCL will be supported by Borland, but it is likely to be a number of years.
Klipt is offline   Reply With Quote
Old Dec 13th, 2007, 9:19 AM   #4
myworkstation
Newbie
 
Join Date: Dec 2007
Posts: 8
Rep Power: 0 myworkstation is on a distinguished road
Re: Convert win32 to .NET applications

Xenocode‘s postbuidle or vas,
Salamander .NET Linker .
and oldest version" framework linker"
myworkstation is offline   Reply With Quote
Old Dec 13th, 2007, 12:32 PM   #5
ghaith
Newbie
 
Join Date: Dec 2007
Posts: 2
Rep Power: 0 ghaith is on a distinguished road
Re: Convert win32 to .NET applications

Hey,
Thanks for the replies,
actually what we need is to convert from delphi 5 to delphi for .NET, so we're not exactly looking for a converter to C# or another language, i thought a switch must be relatively easy, especially after i read some of the VLC.NET stuff, they use almost the same components, however coudn't successfully import the project.. maybe i missed a feature in the builder? i did successfully open the project in the win32 builder, i just had problems with the 3rd party components, which is normal..

has anyone tried such a conversion before?
thank you
ghaith is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using .NET 1.1 with Visual Studio 2005 ReggaetonKing C# 2 Aug 2nd, 2007 1:34 AM
Yet another .NET issue Lesliect6 Other Programming Languages 5 Mar 21st, 2007 9:08 AM
Creating .NET applications using visual c++ express. Gradius Other Programming Languages 8 Nov 26th, 2005 8:28 AM
Goal of .Net Framework or Mono pr0gm3r Other Programming Languages 5 Sep 9th, 2005 4:28 PM
Question about Win32 Programming brokenhope C++ 15 May 3rd, 2005 8:55 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 10:05 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC