Logo New book: Delphi 2007 Handbook
My blog in online
Delphi tech support service: support.marcocantu.com
Google
  Web www.marcocantu.com

Menu for Development

Site Menu
Delphi 2007 Handbook
Mastering Borland Delphi 2005
Essential Pascal
Essential Delphi
Buy Books Online
Code Repository
Newsgroups
White Papers
Tools
Conferences
Training
Delphi Links
Contact Marco

My Other Sites
Italian Site (www.marcocantu.it)
Developers Newsgroups Browser (dev.newswhat.com)
My town (www.piazzacavalli.net)
the delphi search
Wintech Italia (my company)

Breaking News
Buy Mastering Borland Delphi 2005 from Amazon
Free ebook: Mastering Delphi Update for Delphi 2006

Advertising
Home My Blog Books My Bookstore Development Links Marco


Home: Development: vb2delphi

vb2delphi

vb2delphi by Albert Almeida
(Hosted on marcocantu.com)
Free Alpha Version

Description

vb2Delphi is a Visual Basic 6 to Delphi source code conversion tool. In it's current version, it successfully converts standalone VB6 standard(.BAS) and class modules(.CLS) and the convertion is strictly syntactical. It recognizes almost all VB6 language constructs and the current translation to Delphi supports the following features:

  • Constants
  • Variables
  • Properties
  • Events
  • Static/Dynamic arrays
  • Procedure/Functions
  • External function declaraton(Declare)
  • Enumerated types
  • Record types
  • Legacy type suffixes($, %, etc)
  • Legacy syntax of Circle, Line, etc
  • Implicit typing based on Def statements(DefStr, DefInt, etc)
  • Optional parameters without explicit default values
  • Option Base
  • Comments anywhere around declarations/statements

The following features are recognized but NOT currently converted:

  • On Error, Get, Put, Lock, Unlock, Resume, Return, Time, ForEach
  • Functions taking a variable number of arguments
  • Function calls with named arguments
  • Form control descriptions(.FRM)
  • Implements

vb2Delphi is a work in progress. This version is not a "Version 1". It would be fairer to name it a "Tecnology Preview", "Alpha" or "v0.20".
For bug reports, comments, suggestions, and feature requests contact the author.

Download Instructions

To try it out download vb2delphi.zip (96KB). The compressed file contains the current alpha version of the executable, which is a command line tool, and a few sample files.

Future Development

Right now the author is working on the aforementioned "not converted" features and a conversion maps tecnology that will allow users to specify how VB6 standard library functions and third-party controls are converted to Delphi.

Contact Information

For any information and/or request please contact the author at his caviola email account on gmail.com.