Hi,
On 29/3/2017 9:57 μμ, fredvs wrote:
Hello.
Some developers treat me as dinosaur because I use threads in place of doing
parallelism.
Huh, ok, but why parallelism is better and how to do it with fpc ?
a nice article I've found long ago when I was researching the same
topic "Threading/C
Hi,
On 29/3/2017 11:15 μμ, Michael Van Canneyt wrote:
< snip >
Showing nicely that parallelism in a single process implies threads.
I would not pay too much attention to what these developers are saying.
besides hardware parallelism, how software parallelism ( in the sense of
true simultane
Hi,
I need to transfer data which are relative big ( 1,2 GB )using low
memory ( 512MB, 1GB RAM ) machines.
I was thinking something like load partial the file I ie.e a 64K
memory block ) compress it send that compressed block via network and at
the other end receive that block decompress
Hi,
I'm trying to "convince" gdbserver ( not gdb ) to attach to a windows
service, but I'm always get the "Attach to process failed (error 5):
Access is denied. " .
Did anyone succeed to use gdbserver ( not gdb ) to attach a window
service ?
regards,
--
Dimitrios Chr. Ioannidis
__
Hi,
Στις 2017-06-01 18:14, Sven Barth via fpc-pascal έγραψε:
Am 01.06.2017 16:49 schrieb "Dimitrios Chr. Ioannidis via fpc-pascal"
:
>
> Hi,
>
> I'm trying to "convince" gdbserver ( not gdb ) to attach to a
windows service, but I'm always
Hi,
Στις 23/2/2018 5:17 μμ, ο Michael Van Canneyt έγραψε:
On Fri, 23 Feb 2018, Luca Olivetti wrote:
Hello,
the TFpHttpClient has an IoTimeout property, which in turn sets the
IOTimeout of its FSocket (TInetSocket), however there's no way to set
a connection timeout.
I see that even overri
Hi,
Στις 23/2/2018 8:24 μμ, ο Luca Olivetti έγραψε:
El 23/02/18 a les 18:51, Dimitrios Chr. Ioannidis via fpc-pascal ha
escrit:
copy the ssockets.pp from \packages\fcl-net\src dir
to your project dir and add the following line
SetIOTimeout(FIOTimeout);
to Procedure
Hi
Στις 23/2/2018 11:14 μμ, ο Luca Olivetti έγραψε:
yes, it does (in procedure TFPCustomHTTPClient.ConnectToServer)
FSocket:=TInetSocket.Create(AHost,APort,G);
try
if FIOTimeout<>0 then
FSocket.IOTimeout:=FIOTimeout; <-
FSocket.Connect;
except
FreeAndNil(FSocket);
Hi,
On 2018-02-24 03:42, Luca Olivetti wrote:
El 23/02/18 a les 22:57, Dimitrios Chr. Ioannidis via fpc-pascal ha
escrit:
Hi
Στις 23/2/2018 11:14 μμ, ο Luca Olivetti έγραψε:
The TFPCustomHTTPClient calls TInetSocket.Create constructor which it
calls the inherited constructor from
Hi,
Στις 24/2/2018 2:00 μμ, ο Luca Olivetti έγραψε:
< snip >
OK. I got it. Point taken.
I don't think you did
No I really did ;).
The only reliable way to enforce a connect timeout is to try to
connect in non-blocking mode.
Something like this ( sorry again in ssockects.pp ) for win
Hi,
On 2018-11-05 14:30, Bo Berglund wrote:
~/dev/fpc/3.0.4$ make clean
make: -iVSPTPSOTO: Command not found
/bin/rm -f build-stamp.*
/bin/rm -f base.build-stamp.*
What does this mean and what can I do to fix it?
Does it need to be fixed?
This works for me the last 3 years :
make c
Hi,
AFAIU dynamic allocation memory does not exist for AVR platform (
tried to use AllocMem, GetMem and the mcu restart it's self. ) .
Is there any other way to dynamically allocate memory in AVR ?
( I'm writing a driver for the ENC28J60 and I need to allocate memory on
demand for the ethe
Hi,
Στις 26/1/2019 12:40 μ.μ., ο Michael Ring έγραψε:
Did you include the HeapMgr unit? This unit enables heap memory
allocation for arm+pic cpu's, hopefully it also works for avr.
Am 26.01.19 um 10:29 schrieb Dimitrios Chr. Ioannidis via fpc-pascal:
Hi,
AFAIU dynamic alloc
Hi,
I started to write a driver (
https://github.com/dioannidis/fp_ethernet_enc28j60.git ) for this chip (
ENC28J60 Ethernet Controller ) first for the AVR platform, ( heavily
inspired from the UIPEthernet library (
https://github.com/UIPEthernet/UIPEthernet.git )) and I want to ask the
co
Hi,
I just tried to connect to https://forum.lazarus.freepascal.org/ and I
got :
"Sorry, SMF was unable to connect to the database. This may be caused
by the server being busy. Please try again later. "
Is it under maintenance ?
regards,
--
Dimitrios Chr. Ioannidis
_
Hi,
Στις 26/7/2019 1:04 π.μ., ο James Richters έγραψε:
Does Freepascal have support for USB Human Interface devices? I am
attempting to interface to an WHB04B-4
https://www.amazon.com/gp/product/B07M5ZY1P2
I have an example of how to do it that was written in Python, so I’m
trying to fig
Hi,
On 2019-07-26 13:39, James Richters wrote:
< snip >
Anyone have any suggestions for an FPC only console application method
or demo I could use to access this USB HID device?
< snip >
As I suggested in my previous mail You can use the fpc-usb-hid library
from Alfred. I don't see any de
test plz ignore
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Hi,
Στις 22/4/2020 1:02 π.μ., ο Bo Berglund via fpc-pascal έγραψε:
< sip >
But what about the general service framework?
The existing code uses a class inherited from TService, does this
exist on FPC for Windows and Linux?
So it can be crosscompiled for both platforms?
Attached you'll find a
Hi,
Στις 3/4/2021 8:49 μ.μ., ο/η Joost van der Sluis via fpc-pascal έγραψε:
Hi all,
During some spare free time I've ported parts of the Arduino AVR
library to Free Pascal. So now it is possible to use things like
'DigitalWrite' and 'Delay'.
More info here:
https://lazarussupport.com/intro
Hi,
Στις 5/1/2022 2:00 π.μ., ο/η Rainer Stratmann via fpc-pascal έγραψε:
https://freepascal.org/
the certificate issued for www.freepascal.org and not for freepascal.org .
It seems that the let's encrypt script was run with -d freepascal.org
instead of -d *.freepascal.org .
See https://www
Hi,
On 2022-01-05 11:15, Mattias Gaertner via fpc-pascal wrote:
On Wed, 5 Jan 2022 09:40:49 +0200
"Dimitrios Chr. Ioannidis via fpc-pascal"
wrote:
Hi,
Στις 5/1/2022 2:00 π.μ., ο/η Rainer Stratmann via fpc-pascal έγραψε:
> https://freepascal.org/
the certifica
Hi,
On 2022-01-05 11:09, Dmitry Boyarintsev via fpc-pascal wrote:
On Wed, Jan 5, 2022 at 2:49 AM Dimitrios Chr. Ioannidis via fpc-pascal
wrote:
the certificate issued for www.freepascal.org [1] and not for
freepascal.org [2] .
It seems that the let's encrypt script was run wi
Hi,
On 2022-01-05 12:05, Michael Van Canneyt via fpc-pascal wrote:
On Wed, 5 Jan 2022, Dimitrios Chr. Ioannidis via fpc-pascal wrote:
< snip >
AFAIK, let's encrypt support's wildcard certificates from 2018. I
don't know if anything is changed.
I have made some chan
Hi,
Στις 8/6/2022 7:27 μ.μ., ο/η James Richters via fpc-pascal έγραψε:
Is there any way to specify a shorter timeout for FPConnect?
AFAIK, socket connect timeout is implemented in ssockets ( in
TSocketStream ) not in sockets unit.
You can use the TInetSocket's class from ssockets unit ( thi
Hi,
On 2022-06-08 21:07, James Richters via fpc-pascal wrote:
I'm not quite following how I could implement that.
Here is what I am trying to do:
Uses
Serial,Sysutils,Sockets,CRT;
var
Socket_Address: TSockAddr;
opt: LongWord;
Connect_Result : Integer;
TCP_Connect_Socket : Tsocket;
begin
Hi,
On 2022-10-25 09:30, Bo Berglund via fpc-pascal wrote:
< snip >
Anyone able to help with FPC implementation?
Take a look here,
https://forum.lazarus.freepascal.org/index.php?topic=54791.0
regards,
--
Dimitrios Chr. Ioannidis
___
fpc-pascal
Test, please ignore .
regards,
--
Dimitrios Chr. Ioannidis
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
28 matches
Mail list logo