On Tue, 19 May 2020 18:25:54 +0200, Giuliano Colla
wrote:
>Now I'm planning to look in more detail the old Delphi implementation,
>in order to see how they were tacking advantage of Libc. If you're
>interested I'll let you know my results.
>
Yes, please!
--
Bo B
y project including the half/baked attempt
at defining TService as a child of TDaemon
And it ends with Lazarus unloading from memory (aka crashing)...
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Tue, 19 May 2020 19:22:55 +0200, Luca Olivetti
wrote:
>Move(Hello^,buffer,len)
or:
Move(Hello[0],buffer,len);
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-
is strange behaviour?
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
and from Windows
PuTTY, both show the same strange behaviour.
If I run the program on Windows this does not happen (same code just
compiled on Windows or Linux).
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Power save is not involved here...
>I guess it was the first command.
>You can try it.
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
7;
followed by ENTER in order for the loop to break.
Then I used this but it needs the crt unit:
repeat
ch := ReadKey;
until ch='q'; {q}
and now the user just needs to hit q without any follow-up ENTER.
--
Bo Berglund
Developer in Sweden
__
back the old keyboard read
behaviour.
Removing Keyboard and Crt from uses does not change anything, but the
display now is sensible at least. So Keyboard is not needed it seems.
At least it does not add anything in this program.
So I will have to live with q to break the loop...
--
Bo Berglund
I really asked about the *difference* between Windows and Linux
behaviour because on Windows the original code works fine without any
screen mess.
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
hen
porting to Linux....
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Sun, 19 Jul 2020 08:46:14 +0200 (CEST), Michael Van Canneyt
wrote:
>
>
>On Sun, 19 Jul 2020, Bo Berglund via fpc-pascal wrote:
>
>> I am porting an old application from Delphi to Lazarus and Windows to
>> Linux.
>> This application has a unit ExecWait, which was
as the
processing program and when looking back there I see now I used
RunCommandInDir. And it is also Windows/Linux.
This was a project built entirely with Lazarus/Fpc of course.
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maill
o the call and these are
somewhat non-obvious:
poWaitOnExit (if I don't use this will the call return at once?)
poDetached(what does this do?)
poRunIdle (what does this do?)
--
Bo Berglund
Developer in Sweden
___
fpc-pascal mail
On Sun, 19 Jul 2020 17:51:59 +0200 (CEST), Michael Van Canneyt
wrote:
>
>
>On Sun, 19 Jul 2020, Bo Berglund via fpc-pascal wrote:
>
>> On Sun, 19 Jul 2020 08:46:14 +0200 (CEST), Michael Van Canneyt
>> wrote:
>>
>>> Various RunCommand procedures in proce
file!
This is not what I want, I may not even be allowed to open the file.
So is there a *cross-platform* way to retrieve the size of the files
too?
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https
On Fri, 24 Jul 2020 00:29:10 +0200 (CEST), Michael Van Canneyt
wrote:
>
>
>On Fri, 24 Jul 2020, Bo Berglund via fpc-pascal wrote:
>
>> I am using FindAllFiles in order to list the files in a directory and
>> it works fine.
>>
>> But I also need the size and
faDirectory, but there is no discussion in the article
on how it can be set to something else and what will be the result in
such a case.
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https
On Sat, 25 Jul 2020 10:51:37 +0200, Bart via fpc-pascal
wrote:
>On Sat, Jul 25, 2020 at 12:24 AM Bo Berglund via fpc-pascal
> wrote:
>
>> But I would like to enumerate the subdirectories themselves (without
>> the content).
>
>Take a look at how FindAllFiles is
On Sat, 25 Jul 2020 00:08:01 +0200, Bo Berglund via fpc-pascal
wrote:
>But I would like to enumerate the subdirectories themselves (without
>the content).
Turns out that there is a procedure FindAllDirectories() in
fileutil...
It does exactly what I need. :)
I wonder why Google failed to
ou will need the seed compiler if you have an empty RPi to start
with...
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
like this instead where
CmdProgNum is a smallint value and the built-in swap function is used:
FR.CmdProgNum := Swap(FR.CmdProgNum);
So the code uses a mix of these and I do not understand what the
strange looking function does...
--
Bo Berglund
Developer in Sweden
ut use od sudo.
Everything this script installs is directed towards the pi home dir
and below.
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
re are virtually no posts describing solutions using
serial...
As it is built-in to fpc one would assume it is the preferred way, but
for some reason it looks like it is not...
(I am using fpc 3.0.4 + Lazarus 2.0.8 on a RaspberryPi (3 and 4))
--
Bo Ber
omplicated than it should be.
Thank you very much for this! I do not need break or non-standard
baudrates so I will cut that away when testing it.
Instead I need to add a thread for reading data so I can have an event
driven reception of data. It would read available data and fire off a
NotifyEv
before
I stopped at 00:31 after finally fixing a persistent bug.
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
tart fix the paths in Tools / Options / Env. / Files to point to
>the right fpc.
Same paths, different RPi.
It worked fine so I can continue working where I left off.
Thanks.
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pas
On Fri, 21 Aug 2020 21:03:31 +0200, Bo Berglund via fpc-pascal
wrote:
>Instead I need to add a thread for reading data so I can have an event
>driven reception of data. It would read available data and fire off a
>NotifyEvent to handle the incoming data in the main application.
I
On Mon, 31 Aug 2020 11:15:10 +0200 (CEST), Michael Van Canneyt via
fpc-pascal
wrote:
>
>
>On Mon, 31 Aug 2020, Bo Berglund via fpc-pascal wrote:
>
>> On Fri, 21 Aug 2020 21:03:31 +0200, Bo Berglund via fpc-pascal
>> wrote:
>>
>> But when doing this I have
On Mon, 31 Aug 2020 12:01:33 +0200, Bo Berglund via fpc-pascal
wrote:
>Thanks, I was worried about reading more data than specified.
>Now I can let the loop in Execute read say 10 bytes or so with timeout
>ane process these, then loop back after firing off the event.
Just a foll
On Tue, 01 Sep 2020 10:22:08 +0200, Bo Berglund via fpc-pascal
wrote:
>Maybe I could tie the timeout to the actual baud used? Slower speeds
>use longer timeout etc? Timeout could be set to the time it takes to
>transfer the number of bytes to read?
>
>And both arguments could be
quot;
So, does TThread not have a constructor
I thought all objects had.
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
ems:
Files
SerialTest.lpr
formmain.pas
Required packages:
LCL
I have even searched the files in the project for LazSerial and it
only finds the word in comments....
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.freepascal
On Tue, 01 Sep 2020 21:07:56 +0200, Bo Berglund via fpc-pascal
wrote:
>I get an error message when building a project after updating from SVN
>to get the sources that build fine on another RPi4 identical in
>configuration.
>
>"Fatal: Cannot find LazSerial used by Remote
On Tue, 01 Sep 2020 22:46:55 +0200, Bo Berglund via fpc-pascal
wrote:
>STRANGE "SOLUTION", BUT WHY?
>
>So even though I am not really using *anything* in LazSerial I added
>LazSerialPort back to the dependencies and rebuilt the application.
&g
ve read that cthreads must be first in uses in the
lpr program files in order to make threads work.
How could it work if I add the dependencies, then it would come later
or maybe earlier???
Anyway now working.
THanks again!
--
Bo Berglund
Developer in Sweden
On Wed, 02 Sep 2020 00:34:23 +0200, Tomas Hajny via fpc-pascal
wrote:
>On 2020-09-02 00:21, Bo Berglund via fpc-pascal wrote:
>
> .
> .
>> Strange because I have read that cthreads must be first in uses in the
>> lpr program files in order to make threads work.
>&
to send can in worst case be 1 Mbytes in size even
though normally it varies between 1 and a few hundred bytes per
operation.
Any suggestions?
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.fr
only implemented such systems in C on embedded platforms so it
is not pascal enough to easily port.
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo
On Thu, 3 Sep 2020 10:22:17 +0200, Martin Frb via fpc-pascal
wrote:
>On 03/09/2020 10:09, Bo Berglund via fpc-pascal wrote:
>> I would like to create a buffer into which a thread can push incoming
>> data and the main thread can extract it for processing.
>> Data are coming
On Thu, 3 Sep 2020 15:47:53 +0200, Martin Frb via fpc-pascal
wrote:
>On 03/09/2020 14:54, Bo Berglund via fpc-pascal wrote:
>> Now to my question:
>> Is there some *example* around for using TLazThreadedQueue as a
>> circular buffer?
>> In the examples dir are only
ENABLED.
published property TFPTimer.Enabled:Boolean"
Is it not possible to start the timer using Enabled?????
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman
e it can
be done...
I think you do not mean that I should put a timer on the main form and
then in its OnTimer event call CheckSynchronize?
This program is a GUI application and I do not know where one could
put a call like that.
--
Bo Berglund
Developer in Sweden
__
know that fpc can build itself so I made an archive for
ppcarm 3.0.4 and uploaded that to the website and modified the script.
But no go, same message...
Any ideas?
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal
On Tue, 08 Sep 2020 00:59:51 +0200, Bo Berglund via fpc-pascal
wrote:
>Today when I was setting up a Raspberry PiZero I was hit with this
>message when I was going to build fpc 3.0.4 (sources checked out from
>svn):
>
>Makefile:2790: *** The only supported starting compiler ve
to build for
*all* RPi devices by only using ARMv6 instructions?
I really do not want to work in the IDE on a PiZero or Pi2 because
these are a bit slow...
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
On Tue, 08 Sep 2020 15:11:07 +0200, Bo Berglund via fpc-pascal
wrote:
>Is there some project setting I can activate in order to build for
>*all* RPi devices by only using ARMv6 instructions?
I used Project/ProjectOptions/ConfigAndTarget and:
set Target CPU family = arm
set Target pro
for this?
>If you are innterested I can send you code snippets showing exactly how to
>implement the circular buffer.
>
Please do, thanks!
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Tue, 8 Sep 2020 20:09:53 +0200, Jonas Maebe via fpc-pascal
wrote:
>On 08/09/2020 16:13, Bo Berglund via fpc-pascal wrote:
>> This happened also after I ran a Run/CleanUpAndBuild operation, so
>> clearly there is something I am missing here.
>
>Is your FPC installation
On Wed, 09 Sep 2020 00:03:29 +0200, Bo Berglund via fpc-pascal
wrote:
>No, it is on an RPi4 so it is ArmV7.
In fact I have been told on the RPi forum RPi4 is Armv8
Armv6: Pi0, PiB, PiA+
Armv7: Pi2Bv1.1
Armv8: Pi2Bv1.2, Pi3, Pi4
But they could not advice how to use a newer RPi (higher numbe
owed by the make commands used when building for ARMv6?
What about make install in FPC? Will it overwrite whatever stuff it
wrote into ~/lib/fpc/3.0.4 and ~/share/...?
Is this the proper way to change the installation from v7 to v6?
--
Bo Berglund
Developer in Sweden
_
his RPi, which I have used for some
time...
Hopefully
make clean
make all
make install
with the proper options will do the trick
TIA..
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
ound trying to figure this out. Any help is
>greatly appreciated
>
If you use Indy10 you will find that TIdTcpClient has methods to read
and send the data as TBytes, i.e. array of bytes.
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist -
ARMv6. And that binary runs on *all* RPi I have tested on.
That is why I want my main RPi dev box to be converted to use ARMv6
instruction set.
Final question:
Lazarus is built (and rebuilt numerous times) using the ARMv7
compiler. Do I need to rebuild Lazarus (and all the installed
pac
exceptions!
So I can confirm that this rebuild method works.
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Wed, 09 Sep 2020 23:47:28 +0200, Bo Berglund via fpc-pascal
wrote:
>OK, I conducted an experiment tonight, it took a while:
>
>1) Grabbed a new SDcard and wrote PiOS Lite on it.
>
>2) Configured the SDcard in another RPi4 where I can access all of the
>new SD and put my fav
ntally changes execution with or without the
begin-end pair!
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
this problem pop up it was traced to LazSerial
and/or SdpoSerial, which pull in a lot of GUI stuff. But these
packages have been removed from the project.
I am now using a serial component based on the built-in serial unit so
there should be no GUI dependencies.
--
Bo Berglund
Developer in S
es could be
called. But it seems not so with FPC/Lazarus.
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Sun, 27 Sep 2020 22:07:16 +0200, Bo Berglund via fpc-pascal
wrote:
>The only required packages for my application now are:
>LCLBase and indylaz. And if I remove LCLBase it still compiles OK but
>also still fails the link step.
I finally got it to compile!
What I did was to add Inte
On Sun, 27 Sep 2020 23:40:09 +0200, Bo Berglund via fpc-pascal
wrote:
>On Sun, 27 Sep 2020 22:07:16 +0200, Bo Berglund via fpc-pascal
> wrote:
>
>>The only required packages for my application now are:
>>LCLBase and indylaz. And if I remove LCLBase it still compiles OK but
&
: TMyRecord;
begin
...
Will random data fill myRec until I assign each field or will the
entire record be zeroed at this point?
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi
On Thu, 8 Oct 2020 10:47:52 +0200 (CEST), Michael Van Canneyt via
fpc-pascal
wrote:
>
>
>On Thu, 8 Oct 2020, Bo Berglund via fpc-pascal wrote:
>
>> I would like to know if data containers of type packed record are
>> zeroed when the item is declared?
>>
>>
will always need code for that.
OK,
I have now added code that sets those fields that should have non-zero
values to the default on startup. All others are handled by the
Default() call.
Works fine.
Thank you for your clarification!
--
Bo Berglund
Developer in Sweden
};
>
If you do that can you be selective and initialize only some fields or
must you list all or none?
Like:
type
TmyRec = record
a, b, c: integer;
d, e: double
end = (a:2; b:3; e:3.1415);
var
charlie: TmyRec;
begin
Default(charlie);
What will charlie.c and charli
I have not gotten any new posts on the Lazarus list since 2 weeks now
(last seen was Oct 8th).
Has it been stopped or is there a Gmane connectivity issue?
I am communicating with the free-pascal.general list and lazarus via
Gmane news interface.
--
Bo Berglund
Developer in Sweden
On Thu, 22 Oct 2020 18:26:22 +0200, Winfried Bartnick via fpc-pascal
wrote:
>
>Am 22.10.20 um 16:17 schrieb Bo Berglund via fpc-pascal:
>> I have not gotten any new posts on the Lazarus list since 2 weeks now
>> (last seen was Oct 8th).
>> Has it been stopped or is th
readable...
As it is it consists of just a mess of words on one gigantic line with
no structure and is very hard to read.
Does not invite one to help...
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http
x
characters in the transmission so that for example 1a 2b 3c could
become ..1 a2 b3 c..
Very dangerous situation. You really must use some kind of delimiter
in the data flow...
--
Bo Berglund
Developer in Sweden
___
fpc-pascal mail
ia a synchronize call to a receive function there.
Is your program a console or GUI program?
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
FBuffer[0],
FReadPacketSize, FReadTimeout); //Read FReadPacketSize bytes with
timeout of FReadTimeout ms
if cnt > 0 then
begin
SetLength(FBuffer, cnt); //Reduce size to fit received data
Synchronize(CallEvent); //Supply received data in FBuffer to
caller
SetLe
On Mon, 28 Dec 2020 14:12:02 +0100, Jean SUZINEAU via fpc-pascal
wrote:
>Le 28/12/2020 à 13:16, Bo Berglund via fpc-pascal a écrit :
>> Synchronize(CallEvent); //Supply received data in FBuffer to
>> caller
>
>You are using TThread.Synchronize.
>
>In a co
is an
in-office-only server. And I would anyway need to check the appearance
*before* committing the files to svn.
Any suggestions?
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
d to figure out how to plug it into Apache too...
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
de this because I am not used to this diff format...
Can I keep my existing .fpc.cfg file or should I rename the fpc.cfg to .fpc.cfg?
I have not yet built Lazarus...
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Sat, 6 Feb 2021 01:15:46 +, Graeme Geldenhuys via fpc-pascal
wrote:
>On 05/02/2021 11:18 pm, Bo Berglund via fpc-pascal wrote:
>> Can they share the same fpc.cfg file (or rather .fpc.cfg)?
>
>Yes, I've been doing so for probably the last 10 years. I have
>7
On Sat, 06 Feb 2021 10:53:51 +0100, Bo Berglund via fpc-pascal
wrote:
FOLLOW-UP:
>BTW, my installs sit in:
>fpc: $HOME/dev/fpc/$fpcversion
>lazarus: $HOME/dev/lazarus/$lazversion
>
I have symlinked the compiler as follows:
ll ~/bin/pp*
lrwxrwxrwx 1 bosse bosse 32 2020-04-
On Mon, 8 Feb 2021 17:20:12 +, Graeme Geldenhuys via fpc-pascal
wrote:
>On 06/02/2021 10:07 am, Bo Berglund via fpc-pascal wrote:
>> How do you manage different versions of the compiler in Lazarus?
>
>This is where I believe MSEide does things much better that Lazarus,
d the debugger
>integration are more advanced than the text mode IDE.
FYI:
The Lazarus mail list is cached as news on gmane.io since 2005 at least.
Same with FPC but from 2003.
I have the fpc message cache locally on my PC since Sep 2003 and Lazarus since
July 2005.
--
Bo Berglund
De
-essentials
Should I worry?
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Thu, 25 Feb 2021 10:59:14 +0100, Marco van de Voort via fpc-pascal
wrote:
>
>Op 2021-02-25 om 10:12 schreef Bo Berglund via fpc-pascal:
>> I am installing fpc 3.2.0 on a notebook running Ubuntu 20.04 LTS
>> When I execute make clean and make sourceinstall I get this strange
On Thu, 25 Feb 2021 13:38:30 +0100, Bo Berglund via fpc-pascal
wrote:
>>Missing FPC install. It can't find a "fpc" binary
>
>Is this a hen-and-egg situation?
>
>I am installing fpc/lazarus for the first time on this computer and I am doing
>it from sourc
among fixed property
alternatives are all pitch black rectangles!
I cannot see which values can be selected from!
Is this by design or oversight?
It was not like this in 2.0.10.
Do I have to install 2.0.10 instead?
--
Bo Berglund
Developer in Sweden
_
y are in use by another
process...
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Mon, 22 Mar 2021 11:25:04 +0100, Bo Berglund via fpc-pascal
wrote:
>Question:
>-
>Can two different applications access the (same) GPIO pins without permission
>problems?
>
>In my case I only need read access to the active pins so I can display the
>state
>in
On Tue, 27 Apr 2021 10:52:28 -0600, Ryan Joseph via fpc-pascal
wrote:
>
>
>> On Apr 27, 2021, at 9:58 AM, Michael Van Canneyt
>> wrote:
>>
>> Wait.
Is this thread intentionally moved from fpc-devel?
Seems to have started there but suddenly moved to general
://forum.lazarus.freepascal.org/index.php/topic,48974.msg354212.html#msg354212
This post states that the problem is solved in FPC 3.2.0
The core of the problem seems to be the openssl version clash...
Any ideas on how to solve this on Pi-OS Linux?
--
Bo Berglund
Developer in Sweden
x to add a function to send an
email containing attachments (files with monitoring result data)?
THe SMTP server I use requires SSL on port 465.
I have only ever used Indy for things like this.
--
Bo Berglund
Developer in Sweden
___
fpc-pascal mai
On Wed, 5 May 2021 23:20:08 +0200 (CEST), Michael Van Canneyt via fpc-pascal
wrote:
>
>
>On Wed, 5 May 2021, Bo Berglund via fpc-pascal wrote:
>
>> On Wed, 5 May 2021 16:51:06 +0200 (CEST), Michael Van Canneyt via fpc-pascal
>> wrote:
>>
>>>
>>&
On Thu, 6 May 2021 14:04:07 +0200 (CEST), Michael Van Canneyt via fpc-pascal
wrote:
>On Thu, 6 May 2021, Bo Berglund via fpc-pascal wrote:
>
>>> I highly recommend Synapse over Indy.
>>>
>>
>> I had great troubles a year or so ago when I tried using some
On Thu, 6 May 2021 14:04:07 +0200 (CEST), Michael Van Canneyt via fpc-pascal
wrote:
>
>
>On Thu, 6 May 2021, Bo Berglund via fpc-pascal wrote:
>
>>> I highly recommend Synapse over Indy.
>>>
>>
>> I had great troubles a year or so ago when I tried usin
On Mon, 10 May 2021 10:08:53 +0200 (CEST), Michael Van Canneyt via fpc-pascal
wrote:
>
>
>On Mon, 10 May 2021, Bo Berglund via fpc-pascal wrote:
>
>>
>> I have now installed Synapse 40.1 in LKazarus 2.0.12 with Fpc 3.2.0
>>
>>> I use it myself in a headl
On Mon, 10 May 2021 11:40:41 +0200 (CEST), Michael Van Canneyt via fpc-pascal
wrote:
>
>
>On Mon, 10 May 2021, Bo Berglund via fpc-pascal wrote:
>
>>
>> Not so simple when you read scores of Internet pages on the subject...
>
>99% of what is written on internet is
On Mon, 10 May 2021 13:11:26 +0200, Bo Berglund via fpc-pascal
wrote:
>Slowly wrapping my head around Synapse, never used it before. I have used Indy
>on Delphi since 20 years or so and continued that path on FreePascal/Lazarus.
>But it does not handle openssl above 1.0.2 :(
>
n how to actually handle the mime object here...
And I had an additional question:
Does Synapse throw exceptions when errors happen? It does not look like that in
the code I have examined so far but I have only looked in two units..
That is what Indy does so one must have try-except in order not
object when it is already part of the MIME object?
Or does SMTP discard its own properties if a MIME package comes along?
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
of blocking for emails with zip attachments which stops them
from being delivered to GMail accounts?
If so, is there some other type of compressed format I can use which is allowed
by GMail?
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist -
tarted working...
So now I have to modify the automatic server so it will rename this particular
file using a different extension.
But that is easier than dealing with the OpenSSL incompatibility of Indy10 in
any case.
--
Bo Berglund
Developer in Sweden
_
nd Linux. Here the results will be
emailed packaged in a zipfile several times a day to a few recipients and it is
not acceptable that the recipient's mail server blocks these emails.
The body of the message is fixed at the moment, I could add a timestamp string
to it but not much more to make
t;> to it but not much more to make it "new" every time.
>> ... :(
>
>It might be better not to mail this, but to upload results to a server using
>http, which puts everything in a database, and make a small frontend for your
>database.
Well, then we would have to
upport source file
as:
uses
Classes,
SysUtils,
smtpsend,
ssl_openssl, //<= Here
synautil,
mimemess,
mimepart;
Yet it is "not compiled"...
Very confusing.
--
Bo Berglund
Developer in Sweden
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
301 - 400 of 531 matches
Mail list logo