Re: [fpc-pascal] Very slow startup of Frepascal programs on just one system

2018-08-22 Thread Tomas Hajny
On Wed, August 22, 2018 11:06, James wrote: Hello, > I am experiencing very slow startup of all of my > freepascal programs for windows on just one computer. . . Does the same happen for GUI programs compiled with FPC on that machine? Tomas ___

Re: [fpc-pascal] Very slow startup of Frepascal programs on just one system

2018-08-22 Thread Marco van de Voort
In our previous episode, James said: > Does anyone have any idea what could be going on to cause such a > slowdown? Pretty much only security software/anti virus. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] Very slow startup of Frepascal programs on just one system

2018-08-22 Thread Sven Barth via fpc-pascal
James schrieb am Mi., 22. Aug. 2018, 11:06: > Any ideas on what may be going on? This is pretty much un-usable with > these huge delays every time I need to start one of my freepascal > programs. > As a test try to disable your anti virus and/or Windows Defender. Regards, Sven >

[fpc-pascal] Very slow startup of Frepascal programs on just one system

2018-08-22 Thread James
I am experiencing very slow startup of all of my freepascal programs for windows on just one computer. Normally they all start pretty much instantly, but I just got a brand new Dell XPS desktop computer and they are all starting up VERY slowly, even simple console programs.. Even 'Hello World'

Re: [fpc-pascal] Link with GCC object files

2018-08-22 Thread Andreas Berger
Thank you Sven, this will be a big help Regards, Andreas On 22/08/2018 12:12, Sven Barth via fpc-pascal wrote: Andreas > schrieb am Mi., 22. Aug. 2018, 12:59: Hi, I have a question. Is it possible to link FPC for Linux (PC and ARM) with GCC or

Re: [fpc-pascal] Type helper for JNI pointers

2018-08-22 Thread Andrew Haines via fpc-pascal
On 08/12/2018 07:42 AM, Benito van der Zander wrote: But this does not work, because fpc thinks jclass and jobject are the same type, so there is only one type helper for both of the types allowed. Because it is declared as type jobject=pointer; jclass=jobject; What can we do

Re: [fpc-pascal] Very slow startup of Frepascal programs on just one system

2018-08-22 Thread James
>Does the same happen for GUI programs compiled with FPC on that machine? I don't have any FPC GUI programs, they are all console programs, some console with ptcgraph >As a test try to disable your anti virus and/or Windows Defender. >Pretty much only security software/anti virus. Yes

Re: [fpc-pascal] Reading AM2302 temp/humid sensor on RaspberryPi?

2018-08-22 Thread Bo Berglund
On Wed, 22 Aug 2018 23:19:28 +0200, Bo Berglund wrote: >I wonder if there are any demo projects around for reading the AM2302 >DHT sensor on a RaspberryPi through FreePascal? >Any links to sample code would be appreciated. >I have used it on an ESP-07 WiFi module (C language and Arduino

Re: [fpc-pascal] Reading AM2302 temp/humid sensor on RaspberryPi?

2018-08-22 Thread R0b0t1
On Wed, Aug 22, 2018 at 4:19 PM, Bo Berglund wrote: > I wonder if there are any demo projects around for reading the AM2302 > DHT sensor on a RaspberryPi through FreePascal? > Any links to sample code would be appreciated. > I have used it on an ESP-07 WiFi module (C language and Arduino >

[fpc-pascal] Reading AM2302 temp/humid sensor on RaspberryPi?

2018-08-22 Thread Bo Berglund
I wonder if there are any demo projects around for reading the AM2302 DHT sensor on a RaspberryPi through FreePascal? Any links to sample code would be appreciated. I have used it on an ESP-07 WiFi module (C language and Arduino environment) but now I would like to get it going on an RPi using

[fpc-pascal] Link with GCC object files

2018-08-22 Thread Andreas
Hi, I have a question. Is it possible to link FPC for Linux (PC and ARM) with GCC or other C++ object files? Regards, Andreas Berger ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] Link with GCC object files

2018-08-22 Thread Sven Barth via fpc-pascal
Andreas schrieb am Mi., 22. Aug. 2018, 12:59: > Hi, I have a question. Is it possible to link FPC for Linux (PC and ARM) > with GCC or other C++ object files? > You can use the $L directive for this ( https://freepascal.org/docs-html/current/prog/progsu43.html#x50-490001.2.43 ). If you use C++