On Thu, 25 May 2017 18:46:43 +0200, Joe via Lazarus
wrote:
>I am trying to test Lazarus 1.8 RC1 (and following versions) under
>Raspbian Jessie with PIXEL.
>But unfortunately I could not find any instructions or scripts helping
>to install *this* RC.
>Any hint?
You could try my script for inst
On Fri, 26 May 2017 13:29:50 +, Mark Morgan Lloyd via Lazarus
wrote:
>
>Just to check the "standard way of doing it" in case there's any
>surprises, with FPC 3.0.2 installed:
>
>svn co http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_8_0_RC1
>cd lazarus_1_8_0_RC1
>make
>
>That worked as
On Fri, 26 May 2017 15:52:06 +, Mark Morgan Lloyd via Lazarus
wrote:
>My apologies, but since you hadn't tested it for the current RC I
>assumed you'd abandoned it.
No apology needed!
It's just that I have 6 RPi:s running at home for different purposes
and those I use for FPC programming a
On Sat, 20 May 2017 12:24:01 +0200, Giuliano Colla via Lazarus
wrote:
>...would stop the complaints about "long executable".
How about strip -s as a post-compile step before shipping?
--
Bo Berglund
Developer in Sweden
--
___
Lazarus mailing list
On Sat, 27 May 2017 11:20:17 +0200, Joe via Lazarus
wrote:
>Am 26.05.2017 um 13:02 schrieb Bo Berglund via Lazarus:
>> You could try my script for installation of FPC + Lazarus on an RPi3.
>> http://blog.boberglund.com/install_lazfpc_local_pi.sh
>>
>> In order to ge
On Sat, 27 May 2017 11:20:17 +0200, Joe via Lazarus
wrote:
>Am 26.05.2017 um 13:02 schrieb Bo Berglund via Lazarus:
>> You could try my script for installation of FPC + Lazarus on an RPi3.
>> http://blog.boberglund.com/install_lazfpc_local_pi.sh
>>
>> In order to ge
On Mon, 29 May 2017 11:50:36 +0200, Joe via Lazarus
wrote:
>I'm sure, this will be another very useful contribution from the famous
>'Developer in Sweden'. Are you using the Pi Zero W?
No, I am buying the RPi3 now but have a number of earlier generation
Pi running their tasks also. I want the m
On Tue, 6 Jun 2017 11:57:21 +0200, Joe via Lazarus
wrote:
>Went to /home/pi/dev/fpc/3.02 and did make clean all PP=ppcarm.
>Got "An unhandled exception occurred at $000678A0".
>Maybe the ARMv6 CPU got some ARMv7 code?
You should probably use this instead:
make clean all PP=/home/pi/dev/fpc/ppcar
I downloaded the LNet 0.6.5 zipfile from:
https://sourceforge.net/projects/lazarus-ccr/files/lNet/lNet%200.6.5/lnet-0.6.5.zip/download
I extracted it into a folder on my Win7 PC and then I started Lazarus
1.6 and went to Packages/Open Package File, navigated to the LNet
folder and selected the laza
I need to make the Lazarus debugger ignore exceptions (not stop on
them), which is possible in Delphi (do not stop on language
exceptions).
How can I configure Lazarus to do the same?
I have a tight loop including reading an Indy TCP client socket
waiting for incoming data and I have put a try-exc
On Sat, 24 Jun 2017 00:14:42 +0200, Bo Berglund via Lazarus
wrote:
>I need to make the Lazarus debugger ignore exceptions (not stop on
>them), which is possible in Delphi (do not stop on language
>exceptions).
>How can I configure Lazarus to do the same?
>
I might add that
On Sat, 24 Jun 2017 12:48:43 +0200, Sven Barth via Lazarus
wrote:
>Am 24.06.2017 11:13 schrieb "Santiago A. via Lazarus" <
>lazarus@lists.lazarus-ide.org>:
>>
>> El 24/06/2017 a las 0:14, Bo Berglund via Lazarus escribió:
>> The problem is that the debu
On Thu, 10 Aug 2017 22:33:50 -0500, R0b0t1 via Lazarus
wrote:
>The forums are far more active, and the developers seem to be fairly
>active on the forums if you need a response quickly.
Is there an NNTP interface (News) for the forums?
I find the NNTP interface more useful than web browsing...
I
On Sat, 12 Aug 2017 17:56:58 -0300, "Marcos Douglas B. Santos via
Lazarus" wrote:
>> Which one? Do you mean Windows CP-1252?
>
>Yes...
>But would it make any difference?
I recently had a problem with an application that was converted from
old string type to AnsiString and seemingly worked in the
On Sat, 12 Aug 2017 23:42:43 -0300, "Marcos Douglas B. Santos via
Lazarus" wrote:
>> After switching out the affected variable declarations from AnsiString
>> to RawByteString the application seemingly started to work again also
>> on these locations.
>>
>> So AnsiString is not safe either
>>
On Sun, 13 Aug 2017 14:18:23 +0300, Juha Manninen via Lazarus
wrote:
>On Sun, Aug 13, 2017 at 1:21 AM, Bo Berglund via Lazarus
> wrote:
>> I recently had a problem with an application that was converted from
>> old string type to AnsiString and seemingly worked in the new Unic
On Tue, 15 Aug 2017 21:22:10 +0200, Luca Olivetti via Lazarus
wrote:
>(I remarked the "if" because I don't know if that's the case, according
>to Bo Berglund's experience it is)
Just to expand on my "experience" and the reason I posted:
My work on converting the old program started back a coup
On Wed, 16 Aug 2017 07:53:11 +0200, Bo Berglund via Lazarus
wrote:
>But I have now moved on and replaced all comm related containers with
>TBytes including modifying the serial component we have used.
>(With some help from Remy Lebeau).
I forgot to mention that the problem area i
I just want to check with you which way is safer when using Move()
commands in a procedure to combine two TBytes arrays by inserting one
into the other at a specified point.
What I need to do is the following:
- Increase the size of the Dest array by the length of the Src array
- Move the data fo
On Wed, 30 Aug 2017 09:48:47 +0200 (CEST), Michael Van Canneyt via
Lazarus wrote:
>> I must use Move() for handling other data of various kinds like packed
>> records and such too...
>
>If the packed records contain managed data (ansistrings and the like):
>Don't use move.
Thanks for the advice
I tried to find where the fpc.cfg file is located on my Raspbian
Jessie system. So I googled and found a number of hits all located on
the lazarus forum.
But whatever item I select there is a timeout and it does not
appear...
For example this:
https://forum.lazarus.freepascal.org/index.php
and all
On Sun, 3 Dec 2017 23:34:39 +0100, Teresa Williams via Lazarus
wrote:
>> So,
>> can someone here please tell me where I should find the fpc.cfg file.
>> When Lazarus 1.6 starts up it complains about not finding it and
>> suggest that I should point it to the file. But I don't know where...
>>
>
On Mon, 4 Dec 2017 09:52:34 +0100, Mattias Gaertner via Lazarus
wrote:
>A normal fpc install puts it in /etc/fpc.cfg
Thanks, that is where I found it now!
I wonder why this did not work before?
sudo find / -name fpc.cfg
Now it does.
Anyway, I could not see anything that would cause lazarus to f
On Mon, 4 Dec 2017 10:16:04 +0100, Marc Weustink via Lazarus
wrote:
>> https://forum.lazarus.freepascal.org/index.php
>> and all othergoogle hits targeting specific posts all time out.
>> And using the Google cahched page does not show it either.
>
>No problem in reaching the forum here.
>
Hmm,
On Mon, 04 Dec 2017 11:04:16 +0100, Bo Berglund via Lazarus
wrote:
>It seems like my fiber ISP is blocking the lazarus forums
>I need to talk to them.
Not the case!
I looked at my ASUS router and it flashed an alert about new firmware,
which I installed and now there is no problem acc
On Mon, 4 Dec 2017 10:44:02 +0100, Mattias Gaertner via Lazarus
wrote:
>Then you should create a /home/pi/.fpc.cfg
I used the script commands for the fpc.cfg:
/home/pi/lib/fpc/3.0.2/samplecfg /home/pi/lib/fpc/3.0.2 /home/pi
Followed by
mv /home/pi/fpc.cfg /home/pi/.fpc.cfg
Now I have a hidden
On Tue, 5 Dec 2017 12:25:43 +0100, Mattias Gaertner via Lazarus
wrote:
>> Question:
>> Do I need a different seed compiler than 3.0.0 for the latest fpc?
>
>Building 3.1.1 needs 3.0.4.
>Building 3.0.4 needs 3.0.2.
Well,
on my RPi3 I used my installation script, which downloads an ARM7
3.0.0 seed
Probably something very basic that I have not remembered given the
frequency with which I create new projects
I am using Lazarus 1.6 with fpc 3.0.0 on Windows 7.
Inside Lazarus I have installed the Indy components and I have
successfully built some GUI programs where I have used Indy component
On Sat, 16 Dec 2017 22:16:11 +0100, Bo Berglund via Lazarus
wrote:
>Compile package indylaz 10.6.2: Exit code 1, Errors: 2
>IdGlobal.pas(1405,14) Error: Identifier not found "Windows"
>IdGlobal.pas(1405,30) Error: Illegal expression
>
This is caused by a seemingly errone
On Mon, 18 Dec 2017 01:05:59 +0100, Bo Berglund via Lazarus
wrote:
>3) And what should I do when creating a "Program" application in
>Lazarus to make it possible to use the units from indylaz without
>fussing with the paths to the Indy sources?
>The program should be pos
I am writing a subversion server hook application (command line) on
Windows using FPC 3.0.4 and Lazarus 1.8.0 and I have now come to the
auditing database connection I want to implement.
The database server is an MSSQLServer Express instance on a Windows
2016 Server and it runs on a non-standard T
On Wed, 27 Dec 2017 14:05:55 +, Graeme Geldenhuys via Lazarus
wrote:
>On 2017-12-27 13:29, Bo Berglund via Lazarus wrote:
>> But now I am back on a Windows 7 machine and here I don't have a clue
>> as to how one installs the FreeTDS library.
>>
>> Any poin
On Wed, 27 Dec 2017 17:32:38 +0100, Bo Berglund via Lazarus
wrote:
>On Wed, 27 Dec 2017 14:05:55 +, Graeme Geldenhuys via Lazarus
> wrote:
>
>>You simply download the DLL and include it in the same directory as the
>>EXE of your application, or install it to a
On Wed, 27 Dec 2017 20:52:00 +0100, Ondrej Pokorny via Lazarus
wrote:
>Strange, I connect to MSSQL without InitialiseDBLib in both 64bit and
>32bit applications. I only add dblib.dll and libiconv.dll to the exe.
>
You are right. I commented out the initialization line and it still
works.
So I mu
On Thu, 28 Dec 2017 10:13:11 +, Graeme Geldenhuys via Lazarus
wrote:
>On 2017-12-27 23:17, Bo Berglund via Lazarus wrote:
>> But I have done nothing else than installing from the Lazarus 1.8
>> installer (lazarus-1.8.0-fpc-3.0.4-win64.exe), which also gets me fpc
>> 3
What is the equivalent of the CVS .cvsignore file?
I have a lot of files that I don't want to get into the repository
because they are only temporary files created by the compiler every
time I do almost anything in the IDE. These are ignored when we use
CVS by the use of a global cvsignore setting
BUMP!
Sent to the wrong list
--
Bo Berglund
Developer in Sweden
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus
I usually program with Lazarus on a Linux platform and with Delphi on
Windows.
But now I am working on a Lazarus 1.8.0/fpc3.0.4 IDE to make a
crossplatform program.
On Linux I am used to do "strip -s filename" on the resulting
executable to bring it down to a sensible size.
But on Windows 7, what
On Sat, 30 Dec 2017 12:14:43 +0100 (CET), Michael Van Canneyt via
Lazarus wrote:
>> On Linux I am used to do "strip -s filename" on the resulting
>> executable to bring it down to a sensible size.
>> But on Windows 7, what can I do?
>
>You can do exactly the same. FPC is distributed with a strip
On Sat, 30 Dec 2017 13:34:41 +0200, Juha Manninen via Lazarus
wrote:
>How is svn import related to compiled binary size?
Because the server I use is located in Austin, Tx and I am in Sweden.
Have to use a VPN, which is not fast at all.
>Do you store the executable binary in revision control? Yo
I wonder if it is possible (and if so how) to enable the Lazarus code
editor to match the open/close parenthesis and begin/end block
delimiters?
I find that I often have trouble finding which level of these I am
at...
I am currently using Lazarus 1.8.0 with FPC 3.0.4 on a Windows 7 X64
laptop.
-
On Fri, 5 Jan 2018 14:12:59 +0100, Martin Frb via Lazarus
wrote:
>On 05/01/18 12:41, Bo Berglund via Lazarus wrote:
>> I wonder if it is possible (and if so how) to enable the Lazarus code
>> editor to match the open/close parenthesis and begin/end block
>> delimiters?
Ma
On Sat, 6 Jan 2018 12:33:43 +0100, Martin Frb via Lazarus
wrote:
>On 06/01/18 10:25, Bo Berglund via Lazarus wrote:
>> Not working:
>> ( ): Controlled by what?
>Should be the same as ()
>
>Just remember, I think there is a bug in 1.8 (already fixed for the not
>yet
On Sun, 7 Jan 2018 22:45:09 +0100, Martin Frb via Lazarus
wrote:
>Please check this kind of errors, with 1.8.2 (once released) or the bug
>fix patch applied.
I guess I will have to get around to learning how to build fpc and
lazarus on Windows then...
On my Linux boxes it is a simple matter of s
I am having problems with Windows10 Pro x64 regarding running my
programs from Windows Explorer.
What happens is this:
- I have created a new virtual computer with Windows 10 Pro x64
- Installed Subversion and checked out a project including sources and
the 32 bit binary
- Went to the binary folder
On Sat, 20 Jan 2018 00:57:36 +0100, Bo Berglund via Lazarus
wrote:
>Is there some special setting needed in order to use Win10 as a
>developer?
I tried to start it from a command prompt instead, so in the console I
navigated to the bin folder and typed the name of the executable and
hit
I am writing a little Lazarus program to examine the registry values
stored by a program we use.
So far I have only used strings and integers in the registry, and I
have known in advance what type they are. Now I want to make a more
general kind of reader and so I have created a read function like
On Sat, 20 Jan 2018 00:57:36 +0100, Bo Berglund via Lazarus
wrote:
>I am having problems with Windows10 Pro x64 regarding running my
>programs from Windows Explorer.
>What happens is this:
>- I have created a new virtual computer with Windows 10 Pro x64
>- Installed Subversion an
On Sun, 04 Feb 2018 20:44:03 +0100, Bo Berglund via Lazarus
wrote:
>So there is a case construct taht uses the data type reported on each
>item, but I don't know what to do about rdExpandString.
>In fact I don't know what kind of data may hide behind this data
>type...
On Tue, 06 Feb 2018 10:58:21 +0100, Bo Berglund via Lazarus
wrote:
>What I want to know is how to treat data of the type REG_EXPAND_SZ in
>the registry when reading it. There are not that many such but for
>completeness I want to be able to display these kinds of data too.
On Tue, 6 Feb 2018 13:35:28 +0100, Alexander Hofmann via Lazarus
wrote:
>Hi,
>
>as stated in the MSDN article you cited, the REG_EXPAND_SZ type is a
>hint to the API/API-User, that the string (stored as any other string
>either 2-byte or 1-byte depending in the Version) might contain
>environment
On Fri, 27 Apr 2018 11:05:49 +0200, Joe via Lazarus
wrote:
>on Pi computers under Raspbian controlled over VNC the Lazarus code
>editor doesn't recognize keystrokes with AltGr and therefore characters
>like {[]}\ can't be put in. That's a known issue since 2016
>(https://bugs.freepascal.org/vi
On Sat, 12 May 2018 01:18:31 +0100, Graeme Geldenhuys via Lazarus
wrote:
>Indy rocks!!!
+1
And additionally the support available at the Indy forum is very good!
https://www.atozed.com/forums/forumdisplay.php?fid=9
If you ask sensible questions you *will* get help there!
Note that the old ato
I am checking if it is possible to convert a few projects from Delphi
XE5 to FPC/Lazarus.
The first such project (the simplest of the set) uses just standard
Delphi functions and is designed for Win32 only, It is defined in a
dproj file so now I wonder if Lazarus is able to import a D-XE5
project
On Fri, 8 Jun 2018 10:32:57 +0200, Ondrej Pokorny via Lazarus
wrote:
>On 08.06.2018 10:31, Bo Berglund via Lazarus wrote:
>> And how can I tell Lazarus not to try to build a 64 bit program?
>
>If you want to go the simple way, install the 32bit Lazarus installer.
>
>Ondre
On Fri, 8 Jun 2018 10:44:11 +0200, Ondrej Pokorny via Lazarus
wrote:
>Yes, of course. But if you want to build both 64bit and 32bit programs,
>you'll be better off with a cross compiling solution.
>
Does this mean for example using Lazarus 1.8.4 win64 and tell it
somehow to use the fpc 32 or 64
On Fri, 08 Jun 2018 10:31:01 +0200, Bo Berglund via Lazarus
wrote:
>I wonder if Lazarus is able to import a D-XE5 project using the dproj file
Well, I installed Lazarus 1.8.4 win32 and then I went to Tools/Delphi
Conversion and found that the only file type it handles is the *.dpr,
so
As part of an effort to port a Delphi program to FPC/Lazarus I have
tried to install a custom package of components we use with Delphi
from D7 to XE5 into Lazarus 1.8.4 win32.
I started by using the menu function:
Tool/Delphi Conversion/Convert Delphi Package
After navigating to the dpk file in
On Fri, 8 Jun 2018 10:17:00 -0700 (MST), leledumbo via Lazarus
wrote:
>> Or is it just the converter that is havíng problems?
>
>In the package dialog, check "Register unit" for units containing Register
>procedure. I didn't remember the last time I converted a Delphi package, but
>it could be t
On Sat, 9 Jun 2018 11:39:28 +0200, Mattias Gaertner via Lazarus
wrote:
>On Fri, 08 Jun 2018 20:08:02 +0200
>Bo Berglund via Lazarus wrote:
>
>>[...]
>> Then I tried compiling and for the first few components all I had to
>> do was add an {$IFDEF DELPHI} bracket
On Sat, 9 Jun 2018 11:27:11 +0200, Werner Pamler via Lazarus
wrote:
>> Did I start this new package in the wrong way? I simply used
>> Package/NewPackage to bring up the dialogs
>
>I think this is correct. I converted a lot of Delphi packages this way,
>without the converter - it gives me mo
On Sat, 09 Jun 2018 17:19:01 +0200, Bo Berglund via Lazarus
wrote:
>The CustomSort it complains about might exist in a used unit in Delphi
>but not in Lazarus for example?
I opened Delphi 2007 and dropped an EasyListview object onto the form
so I could trace this CustomSort method.
If
On Sat, 9 Jun 2018 17:50:43 +0200, Mattias Gaertner via Lazarus
wrote:
>TCustomListView.CustomSort exists in LCL as well.
>Check the declaration of SortByStringProc:
>
>function SortByStringProc(Item1, Item2: TListItem;
>AOptionalParam: PtrInt): Integer; stdcall;
>
But why does it then not find
On Sat, 9 Jun 2018 19:08:23 +0200, Werner Pamler via Lazarus
wrote:
>Is this MustangPeak's EasyListView
>https://github.com/TurboPack/MustangpeakEasyListview)? I was trying to
>convert it myself, but did not even get this far. I got lost in the
>dependence on another package which did not want
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
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 i
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 c
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
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
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
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
On Mon, 11 Jun 2018 10:23:44 +0200, Michael Schnell via Lazarus
wrote:
>On 10.06.2018 15:11, Bo Berglund via Lazarus wrote:
>> ... Build IDE: Exit code 2, Errors: 23 ...
>
>You want to compile some 3rd party Dongle code in the IDE ?
>
>That is more than weired !
>
So
On Mon, 11 Jun 2018 23:17:30 +0200, Mattias Gaertner via Lazarus
wrote:
>On Mon, 11 Jun 2018 21:03:14 +0200
>Bo Berglund via Lazarus wrote:
>
>> On Mon, 11 Jun 2018 10:23:44 +0200, Michael Schnell via Lazarus
>> wrote:
>>
>> >On 10.06.2018
On Wed, 13 Jun 2018 10:29:05 +0200, Michael Schnell via Lazarus
wrote:
>On 12.06.2018 17:08, Sven Barth via Lazarus wrote:
>> No. Delphi does *not* solve this by using dynamic linking.
>OK. I see. Thanks for pointing this out.
>
>Hence in such a (potentially problematic) case the suggested soluti
On Mon, 11 Jun 2018 10:13:21 +0200, Michael Schnell via Lazarus
wrote:
>On 08.06.2018 19:05, Bo Berglund via Lazarus wrote:
>> This Delphi package is a collection of some 20 components and all of
>> them have Register procedures inside of each source file.
>
>Are thos
I have an application that manages the configuration of an embedded
device, which communicates over TCP/IP. Currently I have implmented a
protocol with a command identifier for each data item and the way to
send the data is by sending a packet with the command ID plus the data
to the open socket.
On Fri, 20 Jul 2018 20:09:25 +0300, AlexeyT via Lazarus
wrote:
>
>> The config data are stored in a record and consists of a mix of data
>> types like strings and numbers as well as booleans.
>> Is there a simple way to encode the record as a JSON message
>
>Yes, it is. You can write to json valu
On Fri, 20 Jul 2018 19:33:19 +0200, Bo Berglund via Lazarus
wrote:
I changed my code now so my recrd is instead an object:
type TMyRecord = Class(TObject)
checksum: word;
ssid: AnsiString;
passwd: AnsiString;
macaddr: AnsiString;
addr: TIpAddress;
baud: integer
On Sat, 21 Jul 2018 09:29:29 +0200 (CEST), Michael Van Canneyt via
Lazarus wrote:
>> What have I done wrong?
>
>Because RTTI is made only for published properties.
>
>So, you must make it published properties:
>
>Type
>
>{ needed if you want to descend from TObject.
> You can also descend from
On Sat, 21 Jul 2018 17:47:54 +0200, Sven Barth via Lazarus
wrote:
>Look at the code that Michael wrote. He used properties on purpose,
>because only *properties* can be published while not being a class type.
Sorry, did not fully note the property keyword!
Not doing that made it easier to suppo
On Sun, 22 Jul 2018 00:22:58 +0200, Bo Berglund via Lazarus
wrote:
>Can the JSON handlers deal with the array type TIpAddress?
Well, it trurns out that this fails earlier on when compiling...
So I have:
type
TIpAddress = array[0..3] of byte;
{$M+}
TEspConfiguration = Class(TObj
On Sun, 22 Jul 2018 07:52:40 +0200 (CEST), Michael Van Canneyt via
Lazarus wrote:
>Only dynamic arrays can be published.
>
So I changed the declaration:
TIpAddress = array of byte;
Then added a constructor to the class where I set the length to 4:
constructor TEspConfiguration.Create;
begin
On Sun, 22 Jul 2018 10:41:23 +0200 (CEST), Michael Van Canneyt via
Lazarus wrote:
>That is because you cannot pass the array as a var argument. Just remove the
>var, for a dynamic array it is not required anyway.
I did so and the compile error disappeared.
However, now that there are no compile
I have a GUI program developed in FPC/Lazarus x64 on Windows.
It is an IoT device configuration application which would benefit from
being portable, i.e. executable on an Android phone. The devices in
question will be placed in locations where configuration would be
easier from a phone.
Before I s
On Wed, 25 Jul 2018 11:47:06 -0400, Paul Breneman via Lazarus
wrote:
>You *hope* to compile a program *directly* on an Android phone with
>*little* effort? :)
Did you read "Crosscompile" as compiling *on* android?
I used cross to indicate that the compilation would be done elsewhere
like on a
On Wed, 25 Jul 2018 11:47:06 -0400, Paul Breneman via Lazarus
wrote:
>On 6/11/18 I wrote a message on this forum to you about a security
>dongle I need to use in Lazarus. I'll trade some work for that code!
>
Since I could not make use of the OBJ file for the Sentinel Superpro
dongle I started
On Wed, 25 Jul 2018 13:07:10 -0400, Paul Breneman via Lazarus
wrote:
>Thanks for *all* of that info Bo. My favorite time in Sweden (in 1992)
>I visited the Vasa. Maybe if I visit again we can meet up?
> https://www.vasamuseet.se
Yes, that is the top attraction in Stockholm! The museum has be
On Wed, 25 Jul 2018 13:57:54 -0500, R0b0t1 via Lazarus
wrote:
>https://wiki.gentoo.org/wiki/Project:Android
That page does not contain a single instance of the words "pascal" or
"lazarus".
Seems like it is a dead end for my question about crosscompiling an
*existing* fpc/lazarus application targ
On Wed, 25 Jul 2018 20:40:00 +0200, Bo Berglund via Lazarus
wrote:
>Concerning my config app I have checked that the code runs on ARM by
>building the same sources I use on my Win7 PC also on a RaspberryPi3B.
>Same FPC and Lazarus versions (3.0.4/1.8.4).
>
>No problems there exc
On Thu, 26 Jul 2018 10:26:27 +0200, Sven Barth via Lazarus
wrote:
>> For example in some console apps I have made also for both Windows and
>> Raspbian I have this in the lpr file:
>> {$IFDEF UNIX}
>> {$IFDEF UseCThreads}
>> cthreads,
>> {$ENDIF}
>> {$ENDIF}
>>
>> If that is neede
On Wed, 25 Jul 2018 13:31:08 -0400, Paul Breneman via Lazarus
wrote:
>I need to use the *same* security dongle in Lazarus. I don't want to
>change to a different dongle.
Since Safenet does not provide any new OBJ file n´than the one fpc
cannot use the only path seems to be to somehow convert i
On Fri, 27 Jul 2018 08:21:56 +0200, Bo Berglund via Lazarus
wrote:
>After this the program does no longer crashes when I try to connect to
>the device, but it does not connect either because I am having
>problems making OpenVPN to the network where the device lives work
>from the
On Sun, 29 Jul 2018 09:27:17 -0300, "Marcos Douglas B. Santos via
Lazarus" wrote:
>I haven't use Indy for years, but I've installed the version 10 in Lazarus
>1.9 (trunk) using FPC 3.1.1.
How did you install it?
Did you use the Package/OnLinePackageManager to get it thus ensuring
the most recent
On Wed, 1 Aug 2018 15:37:05 -0400, Larry Dalton via Lazarus
wrote:
>On Wed, Aug 1, 2018 at 3:23 PM, Larry Dalton
>wrote:
>
>> I know I have had the solution to this problem the last time I did this
>> installation, but I have lost the email.
>>
Why attach useless HTML files to your messages?
Ple
I am writing a testing application for checking out a TCP to Serial
bridge component. I am using Lazarus 1.8.0 and fpc 3.0.4 on Windows 7
For the serial port handling I found the "built-in" Serial unit
described here:
http://wiki.freepascal.org/Hardware_Access#FPC_built_in_Serial_unit
Now I have
On Sun, 09 Sep 2018 13:33:22 +0200, Bo Berglund via Lazarus
wrote:
>3) Receiving data
>
I forgot to add a question about read timeouts...
4) Read timeout
---
When running this to read incoming data:
status:= SerRead(serialhandle, s[1], 10);
How can I get out
On Sun, 09 Sep 2018 16:26:29 +0200, Bo Berglund via Lazarus
wrote:
>On Sun, 09 Sep 2018 13:33:22 +0200, Bo Berglund via Lazarus
> wrote:
>
>>3) Receiving data
>>
>I forgot to add a question about read timeouts...
>
>4) Read timeout
>-
On Sun, 9 Sep 2018 20:44:34 +, Mark Morgan Lloyd via Lazarus
wrote:
>I did quite lot of work on the serial.pp unit more recently than that
>wiki page, in fact I didn't even know it existed. Please refer to the
>comments in that file in the first instance.
Thanks Mark,
I did that too and th
On Mon, 10 Sep 2018 13:20:35 +0200, Giuliano Colla via Lazarus
wrote:
>Il 09/09/2018 13:33, Bo Berglund via Lazarus ha scritto:
>>I am writing a testing application for checking out a TCP to Serial
>>bridge component. I am using Lazarus 1.8.0 and fpc 3.0.4 on Windows 7
>>
On Mon, 10 Sep 2018 19:44:22 +0200, Giuliano Colla via Lazarus
wrote:
>Il 10/09/2018 17:30, Bo Berglund via Lazarus ha scritto:
>
>> This seems only to deal with ports 1..9, what about the higher
>> numbered ports 10..255?
>> And would it not be a long execution time for
1 - 100 of 679 matches
Mail list logo