[Lazarus] Is porting Delphi program using AsyncPro to fpc/laz possible?

Bo Berglund bo.berglund at gmail.com
Thu Jan 21 21:53:26 CET 2016


On Thu, 21 Jan 2016 20:33:33 +0000, Graeme Geldenhuys
<mailinglists at geldenhuys.co.uk> wrote:

>On 2016-01-21 19:15, Bo Berglund wrote:
>> So I copied the entire Lib directory over and then renamed to indy10.
>> 
>> And I copied in indylaz.lpk file from your previous message on top of
>> the one from svn.

>Lazarus Packages (the files it lists) are dependent to a set directory
>structure. Because you copied the Lib directory to a new location and
>copied the indylaz.lpk in there, now the paths don't match up - so that
>explains why it does work.

No, I don't think so.
Paths are relative to the lpk file and there are no path going up
(../) there.
I actually looked in your lpk file and found that all listed units in
the Files node are in either Core, Protocols or System.

But I also found an interesting setting:
 <OtherUnitFiles
Value=".;Core;Design;FCL;Protocols;Security;SuperCore;System"/>
This shows that in addition to the dirs I mentioned earlier also FCL,
Security and SuperCore are included in some path setting.

...
>
>
>> But why are there duplicate tabs like "Indy Clients Protocols (am)"
>> and "Indy Clients Protocols (nz)"??
>> American and New Zealand versions or what?
>
>hehehe... As I said, I don't normally install packages into Lazarus, so
>I never noticed that. I just tested, and see those in my copy too - no
>idea what the 'am' and 'nz' is meant to be. I'll take a look at the
>source code later to see if that gives any hints. I don't think it is
>country codes though. ;-)

Well, nz looked quite like one to me. OTOH the tabs contain different
components so the duplication is really only the names.

I will try to use the TCP client and server components to implement my
simulator. It is more familiar to me than any of the FPC networking
objects since I have used Indy quite a lot over the years.
In Delphi of course...


-- 
Bo Berglund
Developer in Sweden





More information about the Lazarus mailing list