Re: [fpc-pascal] Calculating CRC16?

2022-10-25 Thread Fabio Luis Girardi via fpc-pascal
; Do not do to others as you would have them do to you.They might have > different tastes. > > ___ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal > -- The best regards, Fa

[fpc-pascal] HTTPS Client certificate in TFPHTTPServer

2022-08-28 Thread Fabio Luis Girardi via fpc-pascal
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 Pascal

Re: [fpc-pascal] TFPHTTPServer and HTTPS

2022-08-23 Thread Fabio Luis Girardi via fpc-pascal
lman/listinfo/fpc-pascal > -- The best regards, Fabio Luis Girardi PascalSCADA Project http://sourceforge.net/projects/pascalscada http://www.pascalscada.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] TFPHTTPServer and HTTPS

2022-08-23 Thread Fabio Luis Girardi via fpc-pascal
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

[fpc-pascal] TFPHTTPServer and HTTPS

2022-08-23 Thread Fabio Luis Girardi via fpc-pascal
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

[fpc-pascal] Custom attributes

2020-05-20 Thread Fabio Luis Girardi via fpc-pascal
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

Re: [fpc-pascal] enumerate record fields at runtime

2020-04-07 Thread Fabio Luis Girardi via fpc-pascal
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

[fpc-pascal] enumerate record fields at runtime

2020-04-07 Thread Fabio Luis Girardi via fpc-pascal
a b K W I want a way to simple stream records to JSON, without the need of writing a customized streamer for each record type. Using RTTI I can count the record fields, but until now, I can't find a way to get the field names. Best regards, Fabio Luis Girardi PascalSCADA Project

Re: [fpc-pascal] fpmmap arm-linux issue

2020-02-26 Thread Fabio Luis Girardi via fpc-pascal
d. I've run into this discrepancy before on ARM at work > > I have fixed it meanwhile. > ___ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal > -- The best rega

Re: [fpc-pascal] fpmmap arm-linux issue

2020-02-17 Thread Fabio Luis Girardi via fpc-pascal
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

Re: [fpc-pascal] fpmmap arm-linux issue

2020-02-16 Thread Fabio Luis Girardi via fpc-pascal
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

Re: [fpc-pascal] How to rebuild an fpc package

2020-02-12 Thread Fabio Luis Girardi via fpc-pascal
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

Re: [fpc-pascal] fpmmap arm-linux issue

2020-02-01 Thread Fabio Luis Girardi via fpc-pascal
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, *

[fpc-pascal] fpmmap arm-linux issue

2020-01-31 Thread Fabio Luis Girardi via fpc-pascal
race in the FPC executable, and the in line above, the base address is "multiplied" by 4096 dec ($1000 hex) becoming back equal to the C constant. The question is: this is intentional? Has some technical point that's not mentioned on the fpmmap documentation? Or it's simply a bug?

Re: [fpc-pascal] Best start point for adding new FPC target

2020-01-28 Thread Fabio Luis Girardi via fpc-pascal
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

Re: [fpc-pascal] Best start point for adding new FPC target

2020-01-28 Thread Fabio Luis Girardi via fpc-pascal
d/arm folder. > Yes, I know. But to add this new CPU support for the FPC/FreeBSD, it is better I start with files of rtl/freebsd/i386 or rtl/freebsd/x86_64 or use another start point, like rtl/netbsd/arm ? -- The best regards, Fabio Luis Girardi PascalSCADA Project http://sourceforge.net/proje

[fpc-pascal] Best start point for adding new FPC target

2020-01-28 Thread Fabio Luis Girardi via fpc-pascal
ing RTL as a start, copy it and start implementing" I was thinking of starting with armhf-netbsd, that can I suppose to be the closest to the armhf-freebsd target. I'm right? Someone experienced adding new targets for FPC has another suggestion? -- The best regards, Fabio Luis Girardi

Re: [fpc-pascal] Fpc for ARM HF

2019-06-26 Thread Fabio Luis Girardi
Nobody? Em Seg, 24 de jun de 2019 22:03, Fabio Luis Girardi escreveu: > Hi all! > > Someone knows why, programs > compiled to ARM HF target have to be linked with libc to be displayed by > readelf -a as a ARM HF binary? > > If the program isn't linked with libc, it

[fpc-pascal] Fpc for ARM HF

2019-06-24 Thread Fabio Luis Girardi
Hi all! Someone knows why, programs compiled to ARM HF target have to be linked with libc to be displayed by readelf -a as a ARM HF binary? If the program isn't linked with libc, it's displayed as ARM soft float by readelf. Someone have a explanation about this behavior? Should I report a bug? __

Re: [fpc-pascal] Error: Local variables size exceeds supported limit

2019-03-09 Thread Fabio Luis Girardi
Em Sáb, 9 de mar de 2019 09:34, Jonas Maebe escreveu: > > > r39916 > Thanks. How fpcef3 isn't my project and I don't understood how it works (I don't understand why a very large array is needed), I'll switch back to a previous revision number and wait the FPC 3.2 to be released. After that I'll

Re: [fpc-pascal] Error: Local variables size exceeds supported limit

2019-03-09 Thread Fabio Luis Girardi
:32, Fabio Luis Girardi wrote: > > > I'm trying to use the FPC 3.2.0 beta + Lazarus 2.0.1 with fpCEF3. But > > when I try compile this package with FPC 3.2.0 I got this error: > > > > Error: Local variables size exceeds supported limit > > > > But the same

[fpc-pascal] Error: Local variables size exceeds supported limit

2019-03-07 Thread Fabio Luis Girardi
h, in time: FPC 3.2.0 beta buit with sources updated today (07 - mar - 2019) 64 bits Linux Mint 19.1 x86_64 Lazarus 2.0.1 fpCEF3 v 3029.1 Sorry if I forget to include some information. -- The best regards, Fabio Luis Girardi PascalSCADA Project http://sourceforge.net/projects/pascalscada

Re: [fpc-pascal] fpc.cfg using relative paths

2018-11-04 Thread Fabio Luis Girardi
Hi Marcos! I use a lot of FPC/Lazarus versions using one FPC.cfg file, but instead of using relative paths, I use compiler variables, absolute paths, ext4 symlink and directory structure equal to all versions. The unique thing that I have to do each time when installing a new FPC version, is the s

Re: [fpc-pascal] Multiple thread heaps

2018-06-17 Thread Fabio Luis Girardi
Em Dom, 17 de jun de 2018 05:48, Florian Klämpfl escreveu: > > > No. It is added to the "wait for free" queue of the thread which initially > allocated it. > So, excluding the performance penalty, this is not a problem? > ___ fpc-pascal maillist -

[fpc-pascal] Overloading IN operator

2017-12-12 Thread Fabio Luis Girardi
;] then ... else ...; I got: Error: Ordinal expression expected Looking to Freepascal documentation, IN operator overloading is possible: https://www.freepascal.org/docs-html/ref/refse104.html So if the overloading is possible, Is possible to get this example working? -- The best regards, F

[fpc-pascal] fpWeb Apache Module example

2017-12-02 Thread Fabio Luis Girardi
Hi! Is there some example showing how fpWeb Apache Module works? I'm trying to use it with FPC 3.0.3 and some errors are happening and I don't know what I'm doing wrong. -- The best regards, Fabio Luis Girardi PascalSCADA Project http://sourceforge.net/projects/p

Re: [fpc-pascal] Serial communications: synaser vs FPC's serial unit

2017-08-19 Thread Fabio Luis Girardi
So I looked for a systematic naming convention, but according to the Linux allocated devices list (https://static.lwn.net/kernel doc/admin-guide/devices.html) there is a large number of tty* names in use for different serial drivers. Perhaps a different approach ( https://stackoverflow.com/a/99143

Re: [fpc-pascal] FPC 3.0.X next to 2.6.4 on Linux

2017-02-09 Thread Fabio Luis Girardi
In my environment I have FPC 2.4.4, 2.6.4, 3.0.0, 3.0.1 and 3.1.1, all installed on my home folder (/home//development/fpc/x.x.x), with the same folder structure. To choose one FPC version or another, I created a shell script for each version, that sets the path environment variable to selected FP

Re: [fpc-pascal] (Unix) file locking

2016-06-20 Thread Fabio Luis Girardi
/ttyUSB0? FPC fpFLock does the same than Posix.Lockf? -- The best regards, Fabio Luis Girardi PascalSCADA Project http://sourceforge.net/projects/pascalscada http://www.pascalscada.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://l

Re: [fpc-pascal] TFPTimer wtih timer_create

2016-03-10 Thread Fabio Luis Girardi
Please ignore, I found this: http://wiki.freepascal.org/Main_Loop_Hooks 2016-03-10 17:59 GMT-03:00 Fabio Luis Girardi : > Hi again! > > I'm still fighting with timers on Linux, and due a lot of "problems" using > timer_create and signals on Lazarus, I decided to chang

Re: [fpc-pascal] TFPTimer wtih timer_create

2016-03-10 Thread Fabio Luis Girardi
file descriptor? 2016-03-05 17:58 GMT-03:00 Michael Van Canneyt : > > > On Sat, 5 Mar 2016, Fabio Luis Girardi wrote: > > Lazarus/Freepascal has some config to ignore a signal? >> > > No, you must install this yourself using the unix,baseunix units. > > Michael

Re: [fpc-pascal] TFPTimer wtih timer_create

2016-03-05 Thread Fabio Luis Girardi
Lazarus/Freepascal has some config to ignore a signal? 2016-03-05 15:34 GMT-03:00 Michael Van Canneyt : > > > On Sat, 5 Mar 2016, Fabio Luis Girardi wrote: > > Hi all! >> >> I'm searching a way to implement a TFPTimer that don't uses threads. On >> Lin

[fpc-pascal] TFPTimer wtih timer_create

2016-03-05 Thread Fabio Luis Girardi
-- The best regards, Fabio Luis Girardi PascalSCADA Project http://sourceforge.net/projects/pascalscada http://www.pascalscada.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Error compiling FPC trunk under Linux

2016-02-02 Thread Fabio Luis Girardi
I'll do that. Sorry for the noise. 2016-02-02 16:15 GMT-02:00 Jonas Maebe : > Fabio Luis Girardi wrote: > >> >> >> 2016-02-02 16:07 GMT-02:00 Jonas Maebe > <mailto:jonas.ma...@elis.ugent.be>>: >> >> >> What is the version of you

Re: [fpc-pascal] Error compiling FPC trunk under Linux

2016-02-02 Thread Fabio Luis Girardi
2016-02-02 16:07 GMT-02:00 Jonas Maebe : > > > What is the version of your starting compiler? > > 3.1.1 revision 32800. I don't remember the revision the compiler that built this last one, but it's 3.1.1 too. -- The best regards, Fabio Luis Girardi PascalSCADA Proje

[fpc-pascal] Error compiling FPC trunk under Linux

2016-02-02 Thread Fabio Luis Girardi
c/build-stamp.x86_64-linux] Erro 2 My last successful FPC build was made with FPC revision 32800. Should I make a bug report? -- The best regards, Fabio Luis Girardi PascalSCADA Project http://sourceforge.net/projects/pascalscada http://www.pascalscada.com _

[fpc-pascal] IS operator and library created objects

2015-08-19 Thread Fabio Luis Girardi
t use object.ClassName? Or in case of use String to check the class name, how retrieve the class name of all descendant classes from a object? -- The best regards, Fabio Luis Girardi PascalSCADA Project http://sourceforge.net/projects/pascalscada http://www.pascalscad

Re: [fpc-pascal] Raspberry Pi

2015-02-13 Thread Fabio Luis Girardi
an/listinfo/fpc-pascal > -- The best regards, Fabio Luis Girardi PascalSCADA Project http://sourceforge.net/projects/pascalscada http://www.pascalscada.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] cthreads

2014-07-25 Thread Fabio Luis Girardi
2014-07-25 10:10 GMT-03:00 Ewald : > On 07/25/2014 03:04 PM, Fabio Luis Girardi wrote: > > The same question that I posted on bugtracker: > > > > Linux, BSD, Unix, has another threaddriver than cthreads? If no, why > > not make cthreads unit the default threaddriver for

Re: [fpc-pascal] cthreads

2014-07-25 Thread Fabio Luis Girardi
gt; > So the fact that the program started doesn't mean there won't be an error > further down the line. But that is IMHO no different from many other > programming errors, such as trying to save preferences in a file in a > directory that doesn't exist. You should alwa

Re: [fpc-pascal] How to play H264 mp4 video using free pascal?

2014-07-23 Thread Fabio Luis Girardi
omxplayer uses a direct video output (it don't create a X window), so, your program still have focus. See the command line options for more information... 2014-07-23 5:59 GMT-03:00 Dennis Poon : > > > Fabio Luis Girardi wrote: > > Start omxplayer with tprocess and use pipe

Re: [fpc-pascal] How to play H264 mp4 video using free pascal?

2014-07-22 Thread Fabio Luis Girardi
Start omxplayer with tprocess and use pipes to do this Em 22/07/2014 08:30, "Dennis Poon" escreveu: > what library (e.g. ffmpeg) should I call? > any example e.g. of it? > > Actually, the target platform is Raspberry Pi (raspbian OS). It comes with > a video player that does it (omxplayer) but I

Re: [fpc-pascal] arm-linux (raspberry pi)

2014-07-01 Thread Fabio Luis Girardi
patch, but at runtime, my program can't load my shared library. > > TIA john > > > > On 1 July 2014 14:14, Fabio Luis Girardi wrote: > >> Hi all!! >> >> First (tests made on ARMHF): I did tests with latest FPC, built from >> trunk. The trouble

Re: [fpc-pascal] shared library on arm-linux (raspberry pi)

2014-07-01 Thread Fabio Luis Girardi
t works on armhf. So I downgrade my linux install to a ARMEL distro (raspbian from 2013-05) and everything works very well. So, comparing the results, this can be a bug in the shared library mechanism of FPC on ARMHF? 2014-06-28 12:29 GMT-03:00 Jonas Maebe : > On 28/06/14 16:48, Fabio Luis

Re: [fpc-pascal] shared library on arm-linux (raspberry pi)

2014-06-28 Thread Fabio Luis Girardi
Em 28/06/2014 09:13, "Jonas Maebe" escreveu: > > And as the FPC help says, -CD is unsupported (nor needed; it is related to the as of yet unimplemented Delphi-style dynamic packages support). > I'm testing any option that appears to be useful to build a shared library. Even If the help says that

Re: [fpc-pascal] shared library on arm-linux (raspberry pi)

2014-06-26 Thread Fabio Luis Girardi
7 GMT-03:00 Marco van de Voort : > In our previous episode, Fabio Luis Girardi said: > > Someone can say if this is a problem with my raspbian image or a problem > > with my FPC installation? > > Did you use the raspbian provided (and patched!) FPC or did you build your >

Re: [fpc-pascal] shared library on arm-linux (raspberry pi)

2014-06-26 Thread Fabio Luis Girardi
... 2014-06-26 10:57 GMT-03:00 Marco van de Voort : > In our previous episode, Fabio Luis Girardi said: > > Someone can say if this is a problem with my raspbian image or a problem > > with my FPC installation? > > Did you use the raspbian provided (and patched!) FPC or did you build

Re: [fpc-pascal] shared library on arm-linux (raspberry pi)

2014-06-26 Thread Fabio Luis Girardi
:52 GMT-03:00 Fabio Luis Girardi : > What's the current status of dynlibs unit for Linux ARM? > > I'm doing a project and a shared library, both on a raspberry pi with FPC > 2.6.4. I built the shared library successfully, but when I try build a > empty program only with

[fpc-pascal] shared library on arm-linux (raspberry pi)

2014-06-25 Thread Fabio Luis Girardi
ries works fine on RPi or I'm doing something wrong? -- The best regards, Fabio Luis Girardi PascalSCADA Project http://sourceforge.net/projects/pascalscada http://www.pascalscada.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org htt

Re: [fpc-pascal] Delphi compatible anonymous functions

2014-05-16 Thread Fabio Luis Girardi
pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal > -- The best regards, Fabio Luis Girardi PascalSCADA Project http://sourceforge.net/projects/pascalscada http://www.pascalscada.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Error compile library on Linux.

2014-03-26 Thread Fabio Luis Girardi
No problem... what's your fpc version? I'll compare with the right version of FPC here. 2014-03-26 14:17 GMT-03:00 fredvs : > @ Fabio Luis Girardi : > > Here my working *fpc.cfg* > _ > # > # Config file generate

Re: [fpc-pascal] Error compile library on Linux.

2014-03-24 Thread Fabio Luis Girardi
gt; fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal > -- The best regards, Fabio Luis Girardi PascalSCADA Project http://sourceforge.net/projects/pascalscada http://www.pascalscada.com _

Re: [fpc-pascal] Lazarus better than delphi

2014-03-21 Thread Fabio Luis Girardi
Previous messages says all about!! Package system of lazarus is the best and more simple to use and install!! If the package has another packages dependencies, lazarus package system is more strong!! Thanks!! (+ 1) PS. I want drop the support for Delphi on my open source project... Em 21/03/2014

Re: [fpc-pascal] Error compile library on Linux.

2014-03-11 Thread Fabio Luis Girardi
inux/thefile.o: error adding symbols: Bad > value *What is wrong ? > > Many thanks. > > > ___ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal > --

Re: [fpc-pascal] socket timeout

2013-04-17 Thread Fabio Luis Girardi
>> > > > else >> > > > >> > > > SockCheck(synsock.Connect(FSocket, Sin)); >> > > > >> > > > NonBlockMode in turn uses fpIoCtl with the FIONBIO parameter, >> > > > WSAEINPROGRESS=EsysEINPROGRESS, WSAEWOULDB

[fpc-pascal] Network mutex

2012-08-21 Thread Fabio Luis Girardi
. So, anyone knows if FPC or other library provides this functionality? -- The best regards, Fabio Luis Girardi ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] makepack broken?

2012-03-12 Thread Fabio Luis Girardi
with failure status due to previous errors $ I'm running it on Ubuntu 11.04 64 bits. -- The best regards, Fabio Luis Girardi PascalSCADA Project http://sourceforge.net/projects/pascalscada http://www.pascalscada.com ___ fpc-pascal maillist - fpc-p

[fpc-pascal] FPC MemoryDataset

2011-10-26 Thread Fabio Luis Girardi
. Now I ask: What's makes more sense? Make my own copy of memds.pp and change it to be usable by PascalSCADA and Delphi, or FPC team will accept another patch to make it compatible with latest Delphi versions? -- The best regards, Fabio Luis Girardi PascalSCADA Project http://sourcefor

Re: [fpc-pascal] WinCE multithreading

2011-09-17 Thread Fabio Luis Girardi
Patch for FPC-RTL: http://bugs.freepascal.org/view.php?id=20280 The best regards, Fabio Luis Girardi PascalSCADA Project http://sourceforge.net/projects/pascalscada http://www.pascalscada.com ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] WinCE multithreading

2011-09-17 Thread Fabio Luis Girardi
Hi! I submitted two patches that solves multi threading issues on WinCE (one on Lazarus LCL, other on FPC RTL) http://bugs.freepascal.org/view.php?id=18756 After the patches, all examples works as expected. The best regards, Fabio Luis Girardi PascalSCADA Project http://sourceforge.net

Re: [fpc-pascal] WinCE multithreading

2011-09-15 Thread Fabio Luis Girardi
Hi! I made some changes for WinCE and want test. How I rebuild only the RTL on windows? I'm using WinXP, Lazarus 0.9.30.1 with fpc 2.4.4 + cross-arm downloaded from daily snapshots. The best regards, Fabio ___ fpc-pascal maillist - fpc-pascal@lists

Re: [fpc-pascal] WinCE multithreading

2011-09-15 Thread Fabio Luis Girardi
ork as expected on WinCE, both with threads and Critical Sections. The best regards, Fabio Luis Girardi PascalSCADA Project http://sourceforge.net/projects/pascalscada http://www.pascalscada.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.o

Re: [fpc-pascal] WinCE multithreading

2011-09-15 Thread Fabio Luis Girardi
with WinCE with a multi-thread application. I changed the issue. Testing now to see how it works. The best regards, Fabio Luis Girardi PascalSCADA Project http://sourceforge.net/projects/pascalscada http://www.pascalscada.com ___ fpc-pascal maillist

Re: [fpc-pascal] WinCE multithreading

2011-09-14 Thread Fabio Luis Girardi
I'm debugging and I have doubt: I'm using records and pointers to records. On WinCE wiki, the use of unaligned only shows with pointers to integer. And with recods, I must do unalinged(myrec^).member or unalinged(myrec^.member) ??? The best regards, Fabio Luis Girardi PascalSCA

[fpc-pascal] WinCE multithreading

2011-09-12 Thread Fabio Luis Girardi
Hi! I'm porting a multi-thread project to WinCE. Everything works fine, except when I put a Label (or any window control) on any form and link it with the data coming from any thread. My question is: What's the current state of the WinCE port with threads? -- The best regards,

Re: [fpc-pascal] How to detect serial/usb-serial ports.

2011-07-27 Thread Fabio Luis Girardi
I'm a little curious to know how vmware workstation lists the serial ports on linux. It's the unique software that does this right that I know. Regards, Fabio 2011/7/27 Mark Morgan Lloyd : > P.vanderWal wrote: >> >> Debian and Ubuntu >> >> grtjs Piet >> >> - Original Message - From: "F

Re: [fpc-pascal] How to detect serial/usb-serial ports.

2011-07-27 Thread Fabio Luis Girardi
Wich OS? If Windows, you can use the function BuildCommDCB, and pass the following string as param: COMx: baud=1200 parity=N data=8 stop=1 if COMx exists on your system, this function will return true. See: http://msdn.microsoft.com/en-us/library/aa363143(v=vs.85).aspx On linux, i don't found