[Lazarus] porting delphi project code

waldo kitty wkitty42 at windstream.net
Tue May 21 16:12:14 CEST 2013


On 5/15/2013 14:38, Howard Page-Clark wrote:
> On 15/05/2013 19:19, waldo kitty wrote:
>>
>> can someone please give me the steps, in simple layman's terms, that are
>> needed to convert a delphi project or application code to Lazarus/FPC? i
>> have never run delphi and have not the first clue other than there is
>> some sort of convertor available... where it is and how to use it are
>> completely unknown to myself...
>
> Open the Lazarus IDE and you'll see the Tools menu has four conversion menu
> options relating to Delphi. Looks like you want the second Delphi conversion
> option:
> Convert Delphi project to Lazarus project...
> For simple projects the converter works well if you just accept all the defaults
> the wizard provides.
> Your Delphi code is saved unchanged, and the new Lazarus project ends up in a
> new directory with appropriate new .lpi, .lpr and .lfm files, .pas files adapted
> to use the LCL and probably substitutions for some Delphi components with their
> (approximately) equivalent LCL counterparts.

thank you, howard... i've just tried this and it seemed to work but i aborted it 
when it could not find suitable replacements for

   StdCtrls
   ComCtrls
   Buttons
   ExtCtrls

i had it search my lazarus tree as well as my FPC 2.6.2 tree... i'm not sure 
which way to go at this juncture...


-- 
NOTE: No off-list assistance is given without prior approval.
       Please keep mailing list traffic on the list unless
       private contact is specifically requested and granted.




More information about the Lazarus mailing list