Re: [Lazarus] Converting a component package Delphi->Lazarus using built-in converter?

2018-06-10 Thread Bo Berglund via Lazarus
On Fri, 08 Jun 2018 20:08:02 +0200, Bo Berglund via Lazarus wrote: >On every line mentioning CustomSort there is an error: >Error: Identifier not found "CustomSort" > >CustomSort is an identifier in the parent TListView unless I am >mistaken. This error never appeared in Delphi... FYI: I got off

Re: [Lazarus] Converting a component package Delphi->Lazarus using built-in converter?

2018-06-10 Thread Bo Berglund via Lazarus
On Sun, 10 Jun 2018 09:54:34 +0200, Bo Berglund via Lazarus wrote: >With Werner's help I edited the comctrl.pp and comctrl.inc files to Sory, typo! I actually edited the comctrls.pp and customlistview.inc files! -- Bo Berglund Developer in Sweden -- __

Re: [Lazarus] Converting a component package Delphi->Lazarus using built-in converter? - comctrls.pp.patch.zip (0/1)

2018-06-10 Thread Bo Berglund via Lazarus
On Sun, 10 Jun 2018 09:56:48 +0200, Bo Berglund via Lazarus wrote: >On Sun, 10 Jun 2018 09:54:34 +0200, Bo Berglund via Lazarus > wrote: > >>With Werner's help I edited the comctrl.pp and comctrl.inc files to > >Sorry, typo! >I actually edited the comctrls.pp and customlistview.inc files! > I am

Re: [Lazarus] Converting a component package Delphi->Lazarus using built-in converter? - comctrls.pp.patch.zip (1/1)

2018-06-10 Thread Bo Berglund via Lazarus
begin 644 comctrls.pp.patch.zip M4$L#!!0``@`(`#U0RDR:L"0LT&L!```18V]M8W1R;',N<'`N<&%T M8VAUD%L+@D`0A=\#_\,\*OC0FI=4"DP0A""AJ,=8;"M!75G'_]]L91>HE[/+ M0 M;#IMX'7!%6\B*%#E+5H1D(J+4-#CJ>1U'1L3-IL3:!8RF\1YT`"R=.A1-ENI M\)@1+OIH$/\R?8%TK.L%G+D^&\V=DJ4X#32`]A\JO-Z_]&;RC!TQ-(1V/%\M MG>7YE.4%KW;C`N

Re: [Lazarus] Converting a component package Delphi->Lazarus using built-in converter?

2018-06-10 Thread Mattias Gaertner via Lazarus
On Sun, 10 Jun 2018 09:54:34 +0200 Bo Berglund via Lazarus wrote: >[...] > How do I add a *package* Register method? And will it place the > components in the package on an IDE tab? http://wiki.lazarus.freepascal.org/IDE_Window:_Package_Editor Click for each such unit 'Register unit' Mattias -

[Lazarus] Using a component OBJ file in Lazarus?

2018-06-10 Thread Bo Berglund via Lazarus
When converting components to Lazarus (see separate thread) I have encountered a problem for a component that interfaces to a software protection dongle. My component files (pas) need to reference a unit + an obj file from the dongle maker. In the maker's pas file is this: IMPLEMENTATION USES W

Re: [Lazarus] Using a component OBJ file in Lazarus?

2018-06-10 Thread Mattias Gaertner via Lazarus
On Sun, 10 Jun 2018 12:37:32 +0200 Bo Berglund via Lazarus wrote: > When converting components to Lazarus (see separate thread) I have > encountered a problem for a component that interfaces to a software > protection dongle. > My component files (pas) need to reference a unit + an obj file from

Re: [Lazarus] Using a component OBJ file in Lazarus?

2018-06-10 Thread Bo Berglund via Lazarus
On Sun, 10 Jun 2018 12:58:42 +0200, Mattias Gaertner via Lazarus wrote: >Your package must inherit an object search path. > >Package editor / Options / Package Options / Add path to dependent >packages / Object > >Add '$(PkgDir)' without quotes. > I did this literally as you wrote. So my Package

Re: [Lazarus] Using a component OBJ file in Lazarus?

2018-06-10 Thread Mattias Gaertner via Lazarus
On Sun, 10 Jun 2018 14:15:06 +0200 Bo Berglund via Lazarus wrote: > On Sun, 10 Jun 2018 12:58:42 +0200, Mattias Gaertner via Lazarus > wrote: > > >Your package must inherit an object search path. > > > >Package editor / Options / Package Options / Add path to dependent > >packages / Object > >

Re: [Lazarus] Using a component OBJ file in Lazarus?

2018-06-10 Thread Bo Berglund via Lazarus
On Sun, 10 Jun 2018 14:59:11 +0200, Mattias Gaertner via Lazarus wrote: >Find out the format of your obj file and then find a converter to COFF >format, which fpc require. Maybe objconv can be used for that. I never >tried. Meanwhile I found an old post in the lazarus forum: https://forum.lazaru