Lazarus

Programming => Packages and Libraries => Ported from Delphi/Kylix => Topic started by: JJTrapani on April 19, 2013, 05:33:16 pm

Title: Convert .dpk to .lpk
Post by: JJTrapani on April 19, 2013, 05:33:16 pm
Hello everyone!

I have some source code for a component that worked with Delphi 7, and I would like to port it over to Lazarus 1.0.8. 

It relies on the VirtualTreeView component (which I installed)...

Is there a simple conversion article out there on how to convert the .dpk over to a .lpk?

Thanks!
-Joe
Title: Re: Convert .dpk to .lpk
Post by: BlueIcaro on April 19, 2013, 07:44:39 pm
Did you see the actual conversion of VirtualTreeView to lazarus?
http://wiki.lazarus.freepascal.org/VirtualTreeview (http://wiki.lazarus.freepascal.org/VirtualTreeview)

/BlueIcaro
Title: Re: Convert .dpk to .lpk
Post by: JuhaManninen on April 19, 2013, 08:17:01 pm
Is there a simple conversion article out there on how to convert the .dpk over to a .lpk?

Use Tools -> Convert Delphi package to Lazarus package ...

http://wiki.lazarus.freepascal.org/Delphi_Converter_in_Lazarus  (the screenshot here should be updated)

For best results I recommend Lazarus trunk. Please report about your success. I have tested the project conversion more than package conversion myself.
Title: Re: Convert .dpk to .lpk
Post by: JJTrapani on April 26, 2013, 02:12:19 pm
Thank you!  I tried that, and here's what I got:
XML parser error in file: c:\project_files\Delphi\Lazarus\....\..dpk
Error:  In 'stream:' (line 1 pos 1):  Illegal at document level. 
TinyPortal © 2005-2018