Thema: Power++

Einzelnen Beitrag anzeigen

plusplus

Registriert seit: 30. Jul 2010
106 Beiträge
 
Delphi 2009 Architect
 
#84

AW: Delphi++

  Alt 1. Sep 2010, 19:39
Hat jemand ne Ahnung ob ich Delphi++ auch für meine bisherigen Delphi 7 Projekte nutzen kann ?
yes and no

here is a small trick:

save your delphi unit:

unit.pas
unit.dfm

as

unit.code++
unit.form++

then

open unit.form++ in a text editor and change the very first line to

object Form: TForm

now open Delphi++ project and select Add Existing Items and add unit.code++.

the form will be imported. Exotic controls that you might have will be ignored.

finally open the imported code unit and remove everything from the top until (inclduing) implementation

then adjust your events like this:

procedure TForm1.Button1OnClick(Sender: TObject);

to

procedure Button1_OnClick(Sender: TObject( or any));

try to compile and if any errors adjust syntax.


Will soon create an import tool for this
Grid Computing made simple - http://xerocoder.com