To array of bytes, check this:
https://github.com/fluisgirardi/pascalscada_v0/blob/master/src/scada/crc16utils.pas
There are two routines: one to calculate, another to check if crc16 matches.
Em ter., 25 de out. de 2022 às 08:13, Giuliano Colla via fpc-pascal <
fpc-pascal@lists.freepascal.org> e
Hi!
Now that I'm able to use TFPHTTPServer and HTTPS, I want to know how to use
the certificate of HTTPS client to authenticate a session on TFPHTTPServer.
This is possible? If yes, how to do that? Examples or pointing some docs
are welcome.
The best regards,
Fabio Luis Girardi
PascalSCADA Proj
Hi!
Thanks Ondrej! With your orientation I was able to make a TFPHTTPServer
working with HTTPS with FPC 3.2.2
Em ter., 23 de ago. de 2022 às 18:34, Alexey Torgashin via fpc-pascal <
fpc-pascal@lists.freepascal.org> escreveu:
> > You need to set your certificate details as well:
> > fServer.Use
chael Van Canneyt via fpc-pascal <
fpc-pascal@lists.freepascal.org> escreveu:
>
>
> On Tue, 23 Aug 2022, Fabio Luis Girardi via fpc-pascal wrote:
>
> > Exists in FPC some example that demonstrates the use of TFPHTTPServer
> > with HTTPS? The unique exa
Exists in FPC some example that demonstrates the use of TFPHTTPServer
with HTTPS? The unique example that I have found is
about TCustomHTTPApplication.
--
The best regards,
Fabio Luis Girardi
PascalSCADA Project
http://sourceforge.net/projects/pascalscada
http://www.pascalscada.com
_
Hi!
FPC compiler has a define when custom attributes are present?
Something like FPC_HAS_CONSTREF, to say when constref is available...
--
The best regards,
Fabio Luis Girardi
PascalSCADA Project
http://sourceforge.net/projects/pascalscada
http://www.pascalscada.com
___
Thanks for the clarification!
Em ter., 7 de abr. de 2020 às 12:06, Sven Barth
escreveu:
> Fabio Luis Girardi via fpc-pascal
> schrieb am Di., 7. Apr. 2020, 14:58:
>
>>
>> Using RTTI I can count the record fields, but until now, I can't find a
>> way to get the
Hi all!
To FPC developers: FPC trunk has a way to enumerate all record fields and
get their names?
For example:
type
aRec = record
a:String;
b:integer;
K:Int64;
W:Single;
end;
I want to do something like this:
for f in aRec.Fields do
writeln(f.Name);
and get the output
Hi Florian!
Now it works as expected. Thanks!
Em dom., 16 de fev. de 2020 às 18:32, Florian Klämpfl <
flor...@freepascal.org> escreveu:
> Am 01.02.20 um 18:13 schrieb je...@j-software.dk:
> > Agreed, the rtl should definitely divide by pagesize if MMAP2 is
> > defined. I've run into this discrep
About windows CE?
Em Seg, 17 de fev de 2020 17:12, Bo Berglund via fpc-pascal <
fpc-pascal@lists.freepascal.org> escreveu:
> On Sun, 16 Feb 2020 23:36:09 -0300, Fabio Luis Girardi via fpc-pascal
> wrote:
>
> >I'll test it tomorrow.
> >
> >Em Dom, 16
I'll test it tomorrow.
Em Dom, 16 de fev de 2020 18:32, Florian Klämpfl
escreveu:
> Am 01.02.20 um 18:13 schrieb je...@j-software.dk:
> > Agreed, the rtl should definitely divide by pagesize if MMAP2 is
> > defined. I've run into this discrepancy before on ARM at work
>
> I have fixed it meanwhi
This is the tip of the day!
Thanks!
Em Qua, 12 de fev de 2020 10:40, Joost van der Sluis
escreveu:
> Op 10-02-2020 om 17:01 schreef Luis - SoftSAT Sistemas via fpc-pascal:
> > I'am on Windows and installed latest lazarus version(2.0.6), but
> > TCSVDataset from fcl-db package have some bugs so
Ok. I'll fill out a bug report.
Em Sáb, 1 de fev de 2020 13:47, Jonas Maebe escreveu:
> On 31/01/2020 22:17, Fabio Luis Girardi via fpc-pascal wrote:
> > In C:
> >
> > CM_BaseAddr = mmap(NULL, 0x4000, PROT_READ | PROT_WRITE,
> > MAP_SHARED, devmemfd, *
Hi all!
I'm porting a program written in C that uses mmap (fpmmap) that maps GPIOs
and other utilities on a beaglebone. Everything is going well, until the
test, where I see the all base address of beaglebone in FPC should be
divided by 4096 dec ($1000 hex) to get it working. Example:
In C:
CM_
Thanks for the hints!
Em ter., 28 de jan. de 2020 às 16:41, Yuriy Sydorov
escreveu:
> On 28.01.2020 21:14, Fabio Luis Girardi via fpc-pascal wrote:
> > Em ter., 28 de jan. de 2020 às 16:04, Yuriy Sydorov <mailto:j...@cp-lab.com>> escreveu:
> >
> > You need
Em ter., 28 de jan. de 2020 às 16:04, Yuriy Sydorov
escreveu:
> You need to add support of a new CPU to the existing freebsd target. The
> target would be arm-freebsd, since armhf is not
> treated as a separate CPU by FPC. You need to create arm startup files in
> the rtl/freebsd/arm folder.
>
Y
Hi all!
I'm studying how to add a new target for the Freepascal compiler. The
target is the missing armhf-FreeBSD. So I have looked at FPC guide (
https://wiki.freepascal.org/Porting_Free_Pascal#Adding_a_new_target) and
looking at Overview section, item 2 says:
"Take the closest existing RTL as a
17 matches
Mail list logo