Re: [fpc-pascal] fpGUI Toolkit v0.8 release for FPC 2.4.4 2.6.0-rc

2011-12-23 Thread Paul Breneman
I have posted a 3.9 MB zip file that has a minimal distribution of the FPC 2.4.4 compiler as well as the new fpGUI v0.8 source code on this page: http://www.turbocontrol.com/easyfpgui.htm I've also included (Synapse) SynaSer source and a serial debug terminal program I've been working on.

Re: [fpc-pascal] fpGUI Toolkit v0.8 release for FPC 2.4.4 2.6.0-rc

2012-01-04 Thread Paul Breneman
Since the earlier release on 23-Dec-2011 the file mentioned below has been updated to FPC 2.6.0 and the serial debug terminal example also has some improvements made. Paul Breneman wrote on 23-Dec-2011: I have posted a 3.9 MB zip file that has a minimal distribution of the FPC 2.4.4 compiler

Re: [fpc-pascal] fpGUI Toolkit v0.8 release for FPC 2.4.4 2.6.0-rc

2012-05-25 Thread Paul Breneman
/helloworld.htm Paul Breneman wrote on 4-Jan-2012: Since the earlier release on 23-Dec-2011 the file mentioned below has been updated to FPC 2.6.0 and the serial debug terminal example also has some improvements made. Paul Breneman wrote on 23-Dec-2011: I have posted a 3.9 MB zip file that has

Re: [fpc-pascal] Compiling on Raspberry Pi

2012-08-07 Thread Paul Breneman
Hi Koenraad, I recently recieved my Raspberry PI. That's an arm-linux device. I downloaded the easyfpgui-package from http://www.turbocontrol.com/easyfpgui.htm. I can't compile the dbgterm, I get errors on baudrates that seem undefined. In the sources these baudrates are enclosed in IFDEF's.

Re: [fpc-pascal] Re: [Lazarus] Any FPC/Lazarus success stories on Nokia N9?

2012-08-25 Thread Paul Breneman
zeljko wrote: On Saturday 25 of August 2012 14:30:12 Reinier Olislagers wrote: Hi FPC Lazarus lists (crossposted), Just wondering if anybody has compiled FPC, Lazarus, or fpgui applications on Nokia's N9 smartphone. I've successfully built bindings and qtlcl apps for n9 (I guess that Joost

[fpc-pascal] Re: [Lazarus] Any FPC/Lazarus success stories on Nokia N9?

2012-08-26 Thread Paul Breneman
zeljko wrote: On Saturday 25 of August 2012 14:30:12 Reinier Olislagers wrote: Hi FPC Lazarus lists (crossposted), Just wondering if anybody has compiled FPC, Lazarus, or fpgui applications on Nokia's N9 smartphone. I've successfully built bindings and qtlcl apps for n9 (I guess that Joost

Re: [fpc-pascal] FPC + fpGUI + Raspberry Pi = fantastic

2012-09-13 Thread Paul Breneman
Graeme Geldenhuys wrote: Hi, I received my Raspberry Pi today, and had a bit of a play. I'm using the Debian 6 OS with my Pi. I downloaded the FPC+fpGUI ARM archive (only a 3.5MB download), packaged by Paul Breneman. http://www.turbocontrol.com/easyfpgui.htm [Awesome work there, Paul

Re: [fpc-pascal] FPC + fpGUI + Raspberry Pi = fantastic

2012-09-15 Thread Paul Breneman
Three minimal FPC and fpGUI distros were just updated on this page: http://www.turbocontrol.com/easyfpgui.htm The serial debug terminal (uses SynaSer part of Synapse) now compiles and the RPi works with my Gearmo USB to serial adapters (that use FTDI chipsets). Should be fun to see what

Re: [fpc-pascal] A simple HTTP request with FPC standard units

2012-11-23 Thread Paul Breneman
, is there a native way to send an e-mail with Freepascal? Here is the most simple way I know of (but I'd be glad to learn of a more simple way): http://www.turbocontrol.com/easyemail.htm -- Regards, Paul Breneman www.dbReplication.com - VCL database replication components www.TurboControl.com

Re: [fpc-pascal] Re: Odyssey: SSockets and Threads.

2013-04-25 Thread Paul Breneman
silvioprog wrote: 2013/4/25 Michael Schnell mschn...@lumino.de On 04/25/2013 05:15 PM, silvioprog wrote: Indy has a feature (OnDisconnect property) that notifies you when a client is not online. Nope. It notifies you when the other site actively and successfully does a disconnect and

Re: [fpc-pascal] Statically link library

2013-04-25 Thread Paul Breneman
Darius Blaszyk wrote: On Apr 24, 2013, at 10:00 AM, Ludo Brands wrote: On 04/23/2013 10:14 PM, Darius Blaszyk wrote: Thanks Ludo! Works perfectly also here. However for my understanding. Why does MinGW find open, filesize etc? Is there some header file that translates these functions to be

Re: [fpc-pascal] fpGUI Toolkit v1.0 release for FPC 2.6.2

2013-05-04 Thread Paul Breneman
There is a new i386-win32 release with FPC 2.6.2 and fpGUI 1.0 here: http://www.turbocontrol.com/easyfpgui.htm Hopefully the i386-linux and arm-linux releases will be updated soon. -- Regards, Paul Breneman www.dbReplication.com - VCL database replication components www.TurboControl.com

Re: [fpc-pascal] AT-SPI fpc compatible ?

2013-05-11 Thread Paul Breneman
embedded system development). This message thread is very interesting even though I don't know very many details. If I could add something to the fpGUI programs on this page that might be interesting: http://www.turbocontrol.com/easyfpgui.htm -- Regards, Paul Breneman www.TurboControl.com

Re: [fpc-pascal] x86.pp and oldlinux.pp

2009-11-04 Thread Paul Breneman
Holger, The only way to use serial ports successfully to me, is to use the unit serial on fpc, if I choose fpc to deal with serial ports. Another problem results from misleading comments on the implemented procedures and functions. As explained, seropen would return a zero, if a device

Re: [fpc-pascal] One experience with the unit serial

2009-11-19 Thread Paul Breneman
Marco van de Voort wrote: In our previous episode, Gustavo Enrique Jimenez said: Did you try Synaser? http://www.ararat.cz/synapse/doku.php/download . I use it on all my projects since 2006 without problems (linux, windows, etc...). How do you use it? I'm used to TComport, and it seems that

Re: [fpc-pascal] fpGUI Toolkit on WinCE

2010-03-15 Thread Paul Breneman
-compiling WinCE applications near the bottom of this page: http://www.turbocontrol.com/helloworld.htm -- Regards, Paul Breneman www.dbReplication.com - VCL database replication components www.TurboControl.com - Hardware and software development services - Educational programming project

Re: [fpc-pascal] fpGUI Toolkit on WinCE

2010-03-16 Thread Paul Breneman
. :) -- Regards, Paul Breneman www.dbReplication.com - VCL database replication components www.TurboControl.com - Hardware and software development services - Educational programming project for environment monitoring - Information on using FreePascal for embedded systems - Support information

Re: [fpc-pascal] fpGUI Toolkit on WinCE

2010-03-18 Thread Paul Breneman
-compiling WinCE applications near the bottom of this page: http://www.turbocontrol.com/helloworld.htm That is the starter compiler setup that Graeme is referring to. -- Regards, Paul Breneman www.dbReplication.com - VCL database replication components www.TurboControl.com - Hardware and software

Re: [fpc-pascal] fpGUI Toolkit on WinCE

2010-03-18 Thread Paul Breneman
Jonas Maebe wrote: On 18 Mar 2010, at 16:24, Paul Breneman wrote: For the benefit of others reading this message thread I would like to mention that I have posted a minimal FreePascal and fpGUI distribution for cross-compiling WinCE applications near the bottom of this page: http

Re: [fpc-pascal] timing again

2010-06-01 Thread Paul Breneman
would be perfect, since more precision can be rounded, while the contrary is a hard task!) Denis The standard clock for the system timer runs at 1,193,182 Hz, derived for the original IBM PC as the 4.77 MHz processor clock divided by 4. -- Regards, Paul Breneman www.dbReplication.com - VCL

Re: [fpc-pascal] Is Delphi7 on Windows to FPC on embedded Linux possible?

2010-09-25 Thread Paul Breneman
This won't answer all of your questions but I hope it will help: http://www.turbocontrol.com/embeddedfreepascal.htm I'd be glad to discuss this in more detail. -- Regards, Paul Breneman www.dbReplication.com - VCL database replication components www.TurboControl.com - Hardware and software

Re: [fpc-pascal] MSEide+MSEgui rev.2.4

2010-11-14 Thread Paul Breneman
Martin Schreiber wrote: Hi, MSEide+MSEgui version 2.4 for FPC 2.4.2 has been released: https://developer.berlios.de/project/showfiles.php?group_id=11520 Questions and bug reports please to mailing list: https://lists.berlios.de/mailman/listinfo/mseide-msegui-talk NNTP gateway:

Re: [fpc-pascal] MSEide+MSEgui rev.2.4

2010-11-14 Thread Paul Breneman
Marco van de Voort wrote: In our previous episode, Paul Breneman said: This is a new page with FPC 2.4.2 and fpGUI: http://www.turbocontrol.com/easyfpgui.htm I'd like to set up a similar page for MSEgui (and maybe for MSEide as well). Please contact me off-list about this. Btw, you

Re: [fpc-pascal] Re: Building kernel modules using fpc (for fun)

2011-01-15 Thread Paul Breneman
Sven Barth wrote: On 15.01.2011 21:10, Lukasz Sokol wrote: Henry Vermaakhenry.vermaak@... writes: On 15 January 2011 19:48, Sven Barthpascaldragon@... wrote: I might not be able to help you regarding this topic, but I believe that you'll get a wall of use C, god damnit if you ask there

Re: [fpc-pascal] Re: Building kernel modules using fpc (for fun)

2011-01-15 Thread Paul Breneman
Lukasz Sokol wrote: Hey, take a look. I've basically removed all the calls that were referring to creating, reading and writing the procfs file. Only left init_module and cleanup_module so I only left trivial Hello World and Bye-bye messages. In fact I think even that should be made par with

Re: [fpc-pascal] com port using prolific driver

2011-03-12 Thread Paul Breneman
that'll work on win xp. I have some files here that might help you get started using the SynaSer package with FPC: http://www.turbocontrol.com/simpleserial.htm -- Regards, Paul Breneman www.dbReplication.com - VCL database replication components www.TurboControl.com - Hardware and software

Re: [fpc-pascal] Windows test program

2011-06-23 Thread Paul Breneman
Carsten, I have this test program. It compiles and runs (shows) under Delphi (5.0). I can compile (and run it) it under FPC (2.4.4) but it does not show anything. I can see it in the Windows Job list - Processes but not under Programmes. Anybody have a hint. FPC has a WinHello.pp program in

Re: [fpc-pascal] using fpc on a arm4t system failed

2009-03-19 Thread Paul Breneman
Beni, Please try the ARM-Linux example on this page and see if it works: http://www.turbocontrol.com/helloworld.htm -- Regards, Paul Breneman http://www.TurboControl.com http://www.TurboControl.com/embeddedfreepascal.htm - Notes on using FreePascal on embedded systems http

Re: [fpc-pascal] using fpc on a arm4t system failed

2009-03-23 Thread Paul Breneman
Beni, is there another precompiled ppcarm from the version v2.2.x or v2.3.x ? Or exists a maintainer for the arm version? So i could ask him for a debugging version to find the problem. I couldn't debug the problem by my self, because i don't have a clou about assembler programming. please

Re: [fpc-pascal] using fpc on a arm4t system failed

2009-03-23 Thread Paul Breneman
Henry Vermaak wrote: 2009/3/23 Paul Breneman paul2...@brenemanlabs.com: Beni, is there another precompiled ppcarm from the version v2.2.x or v2.3.x ? Or exists a maintainer for the arm version? So i could ask him for a debugging version to find the problem. I couldn't debug the problem by my

Re: [fpc-pascal] How to use UART of ARM platforms (e.g. Raspberry Pi ) through free Pascal?

2013-07-03 Thread Paul Breneman
On 07/03/2013 07:18 AM, Dennis Poon wrote: Anyone has some sample codes or links to share on this? So far, I only found this: http://code.google.com/p/fprpbm/source/browse/#svn%2Ftrunk%2Fexamples%2Fminiuart%253Fstate%253Dclosed http://www.ctrlterm.com/

Re: [fpc-pascal] How to use UART of ARM platforms (e.g. Raspberry Pi ) through free Pascal?

2013-07-04 Thread Paul Breneman
On 07/04/2013 05:08 AM, Dennis Poon wrote: thanks. I am not using the fpc email as it seems off topic. May I know the exact brand and model number of the adapter you used? I have an ATEN usb-to-serial cable (UC-232A) but I am not sure how to connect its serial pins to rs-485 's DIFFERENTIAL

Re: [fpc-pascal] How to use UART of ARM platforms (e.g. Raspberry Pi ) through free Pascal?

2013-07-07 Thread Paul Breneman
On 07/04/2013 09:09 AM, Paul Breneman wrote: On 07/04/2013 05:08 AM, Dennis Poon wrote: thanks. I am not using the fpc email as it seems off topic. May I know the exact brand and model number of the adapter you used? I have an ATEN usb-to-serial cable (UC-232A) but I am not sure how to connect

Re: [fpc-pascal] Sockets?

2013-07-17 Thread Paul Breneman
On 07/17/2013 10:16 AM, Timothy Groves wrote: On 13-07-17 11:14 AM, Michael Schnell wrote: Synapse makes handling of sockets rather easy. Thanks. I'll check that one out. Here is an easy way to try Free Pascal, fpGUI, and Synapse: http://www.ctrlterm.com/

Re: [fpc-pascal] aggpas examples

2013-08-20 Thread Paul Breneman
On 08/20/2013 04:11 PM, David Emerson wrote: I am trying to compile some of the aggpas examples included with lazarus, but I am getting errors upon errors. I have also tried compiling examples against the aggpas sources as downloaded from the aggpas website, outside lazarus, and again, errors

Re: [fpc-pascal] BeagleBone

2013-08-29 Thread Paul Breneman
On 08/29/2013 05:44 AM, Rogério Martins wrote: Hi ! Have anyone programmed in lazarus to a BeagleBone board ? I´d like to know if the binaries works on that hardware and which kind of applications are possible to be developed for that. Thanks a lot. For some easy tests you can try the ARM

Re: [fpc-pascal] Linux Socket Programming

2013-10-29 Thread Paul Breneman
On 10/29/2013 03:52 PM, Robert Wolfe wrote: Hi all! I am wanting to get into learning and doing some Linux socket programming in FPC. However, the tutorials I have found all do not seem to work with the latest iteration of FPC 2.6 (the ones I've found will only work with 2.0.0 only). If

Re: [fpc-pascal] fp universal library ?

2014-01-29 Thread Paul Breneman
On 01/29/2014 09:16 AM, Fred van Stappen wrote: Hello everybody ;-) I have developed a fp-wrapper, uos, who links to the best audio open-source libraries: https://github.com/fredvs/uos/ This main fp-wrapper uses other fp-wrappers who link to those audio-libraries. Those fp-audio-wrappers

Re: [fpc-pascal] updating an old DOS tool using PChar strings

2014-02-19 Thread Paul Breneman
On 02/19/2014 03:06 PM, waldo kitty wrote: ... any help is appreciated and thanks for reading this quite possibly rambling post emanating from my scrambled brain cells... FPC DOS is pretty easy for a console program, but it is 32-bit (whereas DOS is 16-bit) so it isn't as simple as Turbo

Re: [fpc-pascal] updating an old DOS tool using PChar strings

2014-02-20 Thread Paul Breneman
On 02/20/2014 12:51 PM, waldo kitty wrote: On 2/19/2014 8:30 PM, Paul Breneman wrote: On 02/19/2014 03:06 PM, waldo kitty wrote: ... any help is appreciated and thanks for reading this quite possibly rambling post emanating from my scrambled brain cells... FPC DOS is pretty easy

Re: [fpc-pascal] updating an old DOS tool using PChar strings

2014-02-20 Thread Paul Breneman
On 02/20/2014 01:43 PM, Sven Barth wrote: On 20.02.2014 02:49, waldo kitty wrote: even if you do, trunk with the plain 16-bit msdos support might still do it for you). i've pulled DOS262 with the GO memory extender but have not yet installed it on the system due to other questions not yet

Re: [fpc-pascal] Free Pascal console programs on Android are easy

2014-03-15 Thread Paul Breneman
On 03/15/2014 04:59 PM, Sandro Cumerlato wrote: Really interesting! Please fix typo: chmod 755 ppcaarm should be chmod 755 ppcarm. I hope to see a GUI Hello World soon. Sandro On 15 Mar 2014 19:47, Paul Breneman paul2...@brenemanlabs.com wrote: http://turbocontrol.com/gnuroot.htm is a new

Re: [fpc-pascal] Free Pascal console programs on Android are easy

2014-03-15 Thread Paul Breneman
On 03/15/2014 07:33 PM, Paul Breneman wrote: ... http://turbocontrol.com/gnuroot.htm is a new (unpublished) web page. Feedback appreciated! Thanks for the feedback. My main specialty is communication software ( www.turbocontrol.com/APro.htm ), so right now that is what I'm working on. I

Re: [fpc-pascal] Free Pascal console programs on Android are easy

2014-03-16 Thread Paul Breneman
On 03/16/2014 03:45 AM, Mark Morgan Lloyd wrote: Paul Breneman wrote: My main specialty is communication software ( www.turbocontrol.com/APro.htm ), so right now that is what I'm working on. I have a USB hub working with a keyboard on my Nexus 7 (via OTG), but a FTDI USB-serial adapter

Re: [fpc-pascal] Free Pascal console programs on Android are easy

2014-03-24 Thread Paul Breneman
On 03/15/2014 07:33 PM, Paul Breneman wrote: ... My main specialty is communication software ( www.turbocontrol.com/APro.htm ), so right now that is what I'm working on. I have a USB hub working with a keyboard on my Nexus 7 (via OTG), but a FTDI USB-serial adapter doesn't show up in /dev so I

Re: [fpc-pascal] Create class descendant at runtime?

2014-04-29 Thread Paul Breneman
On 04/29/2014 04:59 AM, Michael Schnell wrote: On 04/29/2014 10:34 AM, Mark Morgan Lloyd wrote: Or possibly building the source for a dll/so on the fly. A nice and funny idea combining the benefits of scripting and compiling. A little bit similar to the ahead of time reatlime compiler in a

Re: [fpc-pascal] FCGI MultiThreaded

2014-05-05 Thread Paul Breneman
On 05/05/2014 04:36 AM, Michael Schnell wrote: ... Thanks to the maintainers of fpc and all other list members for much insight I got during these years ! And I thank you Michael for bringing these issues up! I'm glad to learn a little more from your recent messages. This sort of reminds

Re: [fpc-pascal] Free Pascal console programs on Android are easy

2014-05-09 Thread Paul Breneman
On 03/24/2014 12:08 PM, Paul Breneman wrote: On 03/15/2014 07:33 PM, Paul Breneman wrote: ... My main specialty is communication software ( www.turbocontrol.com/APro.htm ), so right now that is what I'm working on. I have a USB hub working with a keyboard on my Nexus 7 (via OTG), but a FTDI

Re: [fpc-pascal] Ping problems - OS/X

2014-05-21 Thread Paul Breneman
Peter, I've been working with running Linux on an Android tablet (without rooting the device) and one thing I've seen mentioned is that ping requires higher priorities (I don't remember the details). You can read more here: http://turbocontrol.com/gnuroot.htm Best regards, Paul

Re: [fpc-pascal] Free Vision apps via SSH

2014-06-25 Thread Paul Breneman
On 06/23/2014 12:49 PM, Graeme Geldenhuys wrote: Hi, Does anybody here still develop applications (big or small) using FPC's Free Vision toolkit? I need to create a few console applications and thought of using Free Vision for the user interface. I've never used Free Vision before, and haven't

[fpc-pascal] DLL call works on FPC 2.6.4 but not with D7

2014-07-01 Thread Paul Breneman
Below is code from a C program (that works). From the .h files: typedef uint32_t PICO_INFO; typedef uint32_t PICO_STATUS; PREF0 PREF1 PICO_STATUS PREF2 PREF3 (ps5000aGetUnitInfo) ( int16_t handle, int8_t* string, int16_t stringLength, int16_t

Re: [fpc-pascal] DLL call works on FPC 2.6.4 but not with D7

2014-07-01 Thread Paul Breneman
On 07/01/2014 10:59 AM, Paul Breneman wrote: Below is code from a C program (that works). From the .h files: typedef uint32_t PICO_INFO; typedef uint32_t PICO_STATUS; PREF0 PREF1 PICO_STATUS PREF2 PREF3 (ps5000aGetUnitInfo) ( int16_t handle, int8_t* string, int16_t

Re: [fpc-pascal] DLL call works on FPC 2.6.4 but not with D7

2014-07-01 Thread Paul Breneman
On 07/01/2014 11:53 AM, Jonas Maebe wrote: On 01/07/14 17:27, Paul Breneman wrote: Sorry, but after I sent the email above I realized that I was editing a file in the wrong folder. Free Pascal doesn't work with var on the line below: var str : Pchar; This is what works on FPC 2.6.4

Re: [fpc-pascal] DLL call works on FPC 2.6.4 but not with D7

2014-07-01 Thread Paul Breneman
On 07/01/2014 01:28 PM, Jonas Maebe wrote: On 01/07/14 19:06, Paul Breneman wrote: Thanks Jonas for the help! This now works for me in FPC (MyReturnStr is PChar): Status := ps5000aGetUnitInfo( ps5000a_handle, @MyReturnStr[ 0], StringLen, requiredSize, RInfo); But in D7 using

Re: [fpc-pascal] DLL call works on FPC 2.6.4 but not with D7

2014-07-01 Thread Paul Breneman
On 07/01/2014 02:58 PM, Jonas Maebe wrote: On 01/07/14 19:42, Paul Breneman wrote: I'm doing the same thing in FPC and D7: StringLen := 14; MyReturnStr := 'test1234567890'; Status := ps5000aGetUnitInfo( ps5000a_handle, @MyReturnStr[ 0], StringLen, requiredSize, RInfo

Re: [fpc-pascal] DLL call works on FPC 2.6.4 but not with D7

2014-07-02 Thread Paul Breneman
On 07/01/2014 04:24 PM, Paul Breneman wrote: On 07/01/2014 02:58 PM, Jonas Maebe wrote: On 01/07/14 19:42, Paul Breneman wrote: I'm doing the same thing in FPC and D7: StringLen := 14; MyReturnStr := 'test1234567890'; Status := ps5000aGetUnitInfo( ps5000a_handle

Re: [fpc-pascal] DLL call works on FPC 2.6.4 but not with D7

2014-07-03 Thread Paul Breneman
On 07/02/2014 06:43 AM, Paul Breneman wrote: On 07/01/2014 04:24 PM, Paul Breneman wrote: On 07/01/2014 02:58 PM, Jonas Maebe wrote: On 01/07/14 19:42, Paul Breneman wrote: I'm doing the same thing in FPC and D7: StringLen := 14; MyReturnStr := 'test1234567890'; Status

Re: [fpc-pascal] FCGI MultiThreaded

2014-11-10 Thread Paul Breneman
tasks. Interesting stuff to go back and read with things currently happening: http://blogs.esa.int/rosetta/ On 05/05/2014 11:22 AM, Paul Breneman wrote: On 05/05/2014 04:36 AM, Michael Schnell wrote: ... Thanks to the maintainers of fpc and all other list members for much insight I got during

Re: [fpc-pascal] FCGI MultiThreaded

2014-11-12 Thread Paul Breneman
This was cross posted to the Lazarus forum and there are a few more interesting links added there: http://forum.lazarus.freepascal.org/index.php/topic,26419.0.html On 11/10/2014 10:43 AM, Paul Breneman wrote: On 26-Sep-2004 Kristofer Skaug wrote (links below to messages): You want mission

Re: [fpc-pascal] FCGI MultiThreaded

2014-11-12 Thread Paul Breneman
This Lazarus forum message has a bit more: http://forum.lazarus.freepascal.org/index.php/topic,25412.msg154279.html#msg154279 On 11/12/2014 10:11 AM, Paul Breneman wrote: This was cross posted to the Lazarus forum and there are a few more interesting links added there: http

Re: [fpc-pascal] Google Code closing down

2015-03-16 Thread Paul Breneman
On 03/16/2015 05:18 AM, Lukasz Sokol wrote: On 14/03/15 12:25, Florian Klaempfl wrote: Am 14.03.2015 um 12:45 schrieb Graeme Geldenhuys: On 2015-03-14 11:38, Mark Morgan Lloyd wrote: [Sigh] I feel like I'm being pushed onto git rather than Subversion. Then don't resist it. As 99% of

Re: [fpc-pascal] Thoughts on Shell Approach to TCP Sockets

2015-03-18 Thread Paul Breneman
On 03/18/2015 06:57 PM, Coyo Stormcaller wrote: Despite documentation and manuals, I have not figured out how to use TCP sockets in Object Pascal, since there doesn't seem to be a primitive for it, or any easy way to instantiate sockets and manipulate incoming connections. There is source code

Re: [fpc-pascal] fpcup fails on Linux

2015-04-19 Thread Paul Breneman
On 04/18/2015 12:48 PM, Juha Manninen wrote: Thanks for everybody for testing. I could finally install FPC trunk in my development machine, Mint Linux 64-bit, using fpcup. I remember it failed also there earlier for some reason. I still don't know what caused the errors in the fresh XUbuntu and

Re: [fpc-pascal] which GUI (noob)

2015-08-04 Thread Paul Breneman
On 08/04/2015 07:33 AM, Gour wrote: Mark Morgan Lloyd markMLl.fpc-pascal-wEaNgGkE20o7VdE/foj...@public.gmane.org writes: The first option would be a pure Pascal one, driving either a graphical or a text-based (curses etc.) UI. Here you mean fpGUI MSEgui? I tend to use the FPC+Lazarus

Re: [fpc-pascal] Basic Windows tutorial

2015-10-22 Thread Paul Breneman
On 10/22/2015 12:20 AM, Ryan Joseph wrote: I’d like to start doing some basic Windows programming to learn but not use the higher level Lazarus cross-platform library. Keeping in mind I know literally nothing about Windows programming, where is a good place to start? I installed Lazarus which

Re: [fpc-pascal] FreeBSD distro with fpc as star.

2015-09-05 Thread Paul Breneman
On 09/04/2015 02:41 PM, Fred van Stappen wrote: That will be very convenient for setting up quick development VM's per project or client. Thanks Graeme :-) Huh, you may use it as VM project but as iso-live cdrom/ usb too. And you may also install it to device, like your main server ;-).

Re: [fpc-pascal] FreeBSD distro with fpc as star.

2015-09-05 Thread Paul Breneman
On 09/05/2015 04:46 PM, Fred van Stappen wrote: I've tried the *beta.0.1.iso several times on VMware 11 and it always shows the pretty splash screen then fails to mount the root. Is there anything you suggest I try? Re-re hello. After testing here... Impossible to run a FreeBSD bootable-iso

Re: [fpc-pascal] How to compile Lazarus program using only FPC?

2015-10-03 Thread Paul Breneman
On 10/03/2015 02:24 PM, Bo Berglund wrote: ... Is there some way one can reset all unused sectors on the disk to only contain 0xFF or Ox00? That would make the image file compressible to a few GB and possible to share. On this wiki page: http://wiki.freepascal.org/Small_Virtual_Machines I

Re: [fpc-pascal] Example of using TInetSocket, please

2015-09-22 Thread Paul Breneman
On 09/22/2015 12:40 AM, Bo Berglund wrote: I am porting an application from Windows Delphi 2007 to FPC on Linux (Raspberry Pi2). In the process I need to switch from using RS232 to TCP/IP to communicate with a data source. I have found that FPC contains the unit ssockets.pp, which implements a

Re: [fpc-pascal] ideU version 1.0.0.

2015-12-26 Thread Paul Breneman
On 12/26/2015 02:08 AM, Martin Schreiber wrote: On Thursday 24 December 2015 16:58:16 Paul Breneman wrote: On 12/24/2015 11:06 AM, Martin Schreiber wrote: Maybe you should list the original too? ;-) Martin Yes I should, but the original is not as simple for a beginner to install

Re: [fpc-pascal] Building kernel modules using fpc (for fun)

2015-11-28 Thread Paul Breneman
On 01/23/2011 08:15 AM, Lukasz Sokol wrote: Lukasz Sokol writes: I decided to put the result of my fiddling back onto the wiki http://wiki.freepascal.org/linux/kernel/module_development as the pastebin seems to have disappeared mysteriously. Enjoy! Lukasz I couldn't find

Re: [fpc-pascal] Using paszlib from fpc 3.0 with fpc and delphi 2007?

2016-05-25 Thread Paul Breneman
On 05/25/2016 09:56 AM, Bo Berglund wrote: On Wed, 25 May 2016 08:21:54 -0500, Paul Breneman <paul2...@brenemanlabs.com> wrote: You've probably considered Abbrevia: http://wiki.lazarus.freepascal.org/FreePascalArchivePackage Yes, I got that as a suggestion over at the Embarcadero

Re: [fpc-pascal] Smartphone apps in FPC

2016-03-19 Thread Paul Breneman
I would suggest checking this out: http://castle-engine.sourceforge.net/engine.php https://github.com/castle-engine/castle-engine/wiki/Build-Too Lots of links here: http://turbocontrol.com/devoptions.htm ___ fpc-pascal maillist -

Re: [fpc-pascal] Smartphone apps in FPC

2016-03-22 Thread Paul Breneman
On 03/21/2016 10:41 PM, donald.ped...@optusnet.com.au wrote: Hi Paul, I would suggest checking this out: http://castle-engine.sourceforge.net/engine.php https://github.com/castle-engine/castle-engine/wiki/Build-Tool My app isn't a game, so not sure that is of much help to me, but thanks

Re: [fpc-pascal] Using paszlib from fpc 3.0 with fpc and delphi 2007?

2016-05-25 Thread Paul Breneman
On 05/25/2016 03:00 AM, Bo Berglund wrote: I have a project that is targeting both Linux (on Raspberry Pi) and Windows. It started in Delphi 2007 and is a command line utility. It needs to use some zip compression of binary files, which must be readable both by the programs and the standard

Re: [fpc-pascal] Parallel Port Access with Free Pascal - windows

2016-07-21 Thread Paul Breneman
On 07/20/2016 10:29 PM, Marc Santhoff wrote: ... Depending on your needs I'd suggest using a USB-to-serial-Adapter or similar. They are cheap and well supported (e.g. using CP2102). As an alternative FTDI has some nice USB-to-anything (including parallel) chips and they sell modules with mil

Re: [fpc-pascal] Socket pair

2016-10-04 Thread Paul Breneman
On 10/03/2016 07:24 AM, Paul Breneman wrote: On 10/03/2016 03:27 AM, Santiago A. wrote: I've seen that "accept" functions with socket pairs are deprecated. And fpsocketpair returns always -1. How do you get the in and out streams when a server accepts a new client connection? I have

Re: [fpc-pascal] Socket pair

2016-10-03 Thread Paul Breneman
On 10/03/2016 03:27 AM, Santiago A. wrote: I've seen that "accept" functions with socket pairs are deprecated. And fpsocketpair returns always -1. How do you get the in and out streams when a server accepts a new client connection? I have seen some server examples, like isocksrv.pp, but only

Re: [fpc-pascal] fpc 3.0 for ARM (v7l) ?

2016-10-26 Thread Paul Breneman
On 10/26/2016 12:05 PM, Ched wrote: Hello, I just received a brand new Raspberry 3B. Nice ARM-based quad-core pico-machine (armv7l). I can run on the 3B programs compiled on a Raspberry 2B (armv6l) using the 2.6.4 fpc compiler. But compiling on the 3B with the 2.6.4 generates errors, like

Re: [fpc-pascal] FreeBSD distro with fpc as star.

2016-11-03 Thread Paul Breneman
On 09/04/2015 09:00 AM, fredvs wrote: Hello. There is a new FreeBSD "pure X" distro with fpc 2.6.4 and fpc 3.0.0 installed. https://forums.freebsd.org/threads/polydev-the-pure-x-freebsd-distribution.53085/ Take a look at "/About poly-cross-compilation./" in end of page. Fre;D I just tried

Re: [fpc-pascal] fpc code for Java class and Android.

2017-04-09 Thread Paul Breneman
On 04/08/2017 09:21 AM, fredvs wrote: ... Here video that shows all the process: https://sites.google.com/site/designerext/fpc_java.mp4 Thank you *very* much for that nice 3:24 6.2 MB video. Now I need to figure out the most *simple* way to do that on an Android phone or tablet. Thanks,

Re: [fpc-pascal] fpc code for Java class and Android.

2017-04-09 Thread Paul Breneman
On 04/09/2017 11:32 AM, fredvs wrote: For this, Xorg must be installed. Huh, of course only for gui applications (fpGUI or MSEgui). For no gui console application, compile your fpc java native library for the same cpu than the one of Android. For example RPi (but I am not sure it is the same

Re: [fpc-pascal] fpc code for Java class and Android.

2017-04-20 Thread Paul Breneman
On 04/19/2017 10:49 PM, Paul Breneman wrote: I'm using a Nexus 7 tablet with Android 6.0.1. GNURoot provides a chroot with Debian? It has been *three* years since I did this before and things worked then so I don't know what might have changed so ppcarm doesn't even run now. Android? GNURoot

Re: [fpc-pascal] fpc code for Java class and Android.

2017-04-19 Thread Paul Breneman
On 04/18/2017 07:38 AM, Paul Breneman wrote: On 04/17/2017 08:42 PM, Jon Foster wrote: ... You have to copy the app to "/data/tmp" as that is usually the only place on Android with a Linux file system that all users have access to. You can't look in there so you kind of have to

Re: [fpc-pascal] fpc code for Java class and Android.

2017-04-19 Thread Paul Breneman
On 04/19/2017 09:48 PM, Jon Foster wrote: On 04/19/2017 06:01 AM, Paul Breneman wrote: On 04/18/2017 07:38 AM, Paul Breneman wrote: On 04/17/2017 08:42 PM, Jon Foster wrote: ... You have to copy the app to "/data/tmp" as that is usually the only place on Android with a Linux f

Re: [fpc-pascal] fpc code for Java class and Android.

2017-04-18 Thread Paul Breneman
On 04/17/2017 08:42 PM, Jon Foster wrote: ... You have to copy the app to "/data/tmp" as that is usually the only place on Android with a Linux file system that all users have access to. You can't look in there so you kind of have to fly blind. :-) "Terminal IDE" makes this easier, assuming you

Re: [fpc-pascal] fpc code for Java class and Android.

2017-04-18 Thread Paul Breneman
On 04/18/2017 01:27 PM, Jon Foster wrote: On 04/18/2017 10:13 AM, Jon Foster wrote: On 04/18/2017 04:38 AM, Paul Breneman wrote: On 04/17/2017 08:42 PM, Jon Foster wrote: ... You have to copy the app to "/data/tmp" as that is usually the only place on Android with a Linux file syste

Re: [fpc-pascal] fpc code for Java class and Android.

2017-04-26 Thread Paul Breneman
On 04/20/2017 08:17 AM, Paul Breneman wrote: On 04/19/2017 10:49 PM, Paul Breneman wrote: I'm using a Nexus 7 tablet with Android 6.0.1. GNURoot provides a chroot with Debian? It has been *three* years since I did this before and things worked then so I don't know what might have changed so

Re: [fpc-pascal] Serial to TCP gateway in FPC?

2017-06-19 Thread Paul Breneman
On 06/19/2017 08:43 AM, Bo Berglund wrote: On Sun, 18 Jun 2017 19:16:05 -0400, Paul Breneman <paul2...@brenemanlabs.com> wrote: Why do you need FPC code? Here are free drivers that work in Windows: http://com0com.sourceforge.net/ ... I would really like to use an available p

Re: [fpc-pascal] Raspberry Pi Zero Wireless Self-hosted

2017-06-26 Thread Paul Breneman
On 06/16/2017 08:22 AM, Paul Breneman wrote: How simple can we get? http://wiki.freepascal.org/self-hosted I just updated http://www.controlpascal.com/self-hosted.htm#RPiZwKit after quickly getting a console Debian installed on RPi Zero Wireless

Re: [fpc-pascal] fpc code for Java class and Android.

2017-05-26 Thread Paul Breneman
On 05/26/2017 06:25 AM, fredvs wrote: Paul Breneman wrote I'll try to figure out how to do things (using ideU) first on my 64-bit Xubuntu 16.04. After that is clear it should be easier to try the same thing on Android? Are there any wiki pages for this? If not I'd like to help create one

Re: [fpc-pascal] fpc code for Java class and Android.

2017-05-27 Thread Paul Breneman
On 05/26/2017 10:25 PM, Paul Breneman wrote: On 05/26/2017 06:25 AM, fredvs wrote: Paul Breneman wrote I'll try to figure out how to do things (using ideU) first on my 64-bit Xubuntu 16.04. After that is clear it should be easier to try the same thing on Android? Are there any wiki pages

Re: [fpc-pascal] fpc code for Java class and Android.

2017-05-25 Thread Paul Breneman
On 04/09/2017 11:32 AM, fredvs wrote: For this, Xorg must be installed. Huh, of course only for gui applications (fpGUI or MSEgui). For no gui console application, compile your fpc java native library for the same cpu than the one of Android. For example RPi (but I am not sure it is the same

Re: [fpc-pascal] Error building FPC 3.0.2 from svn sources on RPi3

2017-06-04 Thread Paul Breneman
On 06/04/2017 02:02 AM, Bo Berglund wrote: On Tue, 30 May 2017 17:49:03 +0200, Giuliano Colla wrote: Il 29/05/2017 23:28, Bo Berglund ha scritto: I have bought and initialized a new RPi3 today. It runs Raspbian Jessie PIXEL latest version. I don't know what

Re: [fpc-pascal] Error building FPC 3.0.2 from svn sources on RPi3

2017-06-04 Thread Paul Breneman
On 06/04/2017 07:10 AM, Paul Breneman wrote: On 06/04/2017 02:02 AM, Bo Berglund wrote: On Tue, 30 May 2017 17:49:03 +0200, Giuliano Colla <giuliano.co...@fastwebnet.it> wrote: Il 29/05/2017 23:28, Bo Berglund ha scritto: I have bought and initialized a new RPi3 today. It runs Ra

Re: [fpc-pascal] Free Pascal console programs on Android are easy

2017-06-04 Thread Paul Breneman
On 05/09/2014 07:06 PM, Paul Breneman wrote: On 03/24/2014 12:08 PM, Paul Breneman wrote: On 03/15/2014 07:33 PM, Paul Breneman wrote: ... My main specialty is communication software ( www.turbocontrol.com/APro.htm ), so right now that is what I'm working on. I have a USB hub working

[fpc-pascal] Raspberry Pi Zero Wireless Self-hosted

2017-06-16 Thread Paul Breneman
How simple can we get? http://wiki.freepascal.org/self-hosted ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Serial to TCP gateway in FPC?

2017-06-18 Thread Paul Breneman
On 06/18/2017 03:04 AM, Bo Berglund wrote: I need to implement a serial to TCP gateway in order to communicate between a Windows based control software and a system controller box. The software and the controller only talk serial to each other and the protocol is proprietary and binary. Now I

Re: [fpc-pascal] Vehicle management

2017-05-07 Thread Paul Breneman
On 05/07/2017 11:11 PM, nore...@z505.com wrote: On 2017-05-07 13:33, Mark Morgan Lloyd wrote: Has anybody used FPC to talk to a vehicle via the OBD connector? Can anybody give me a quick summary of the position of FPC on Android etc.? (Graeme, that includes FPCgui if it's relevant). We've

Re: [fpc-pascal] Vehicle management

2017-05-07 Thread Paul Breneman
On 05/07/2017 02:33 PM, Mark Morgan Lloyd wrote: Has anybody used FPC to talk to a vehicle via the OBD connector? Can anybody give me a quick summary of the position of FPC on Android etc.? (Graeme, that includes FPCgui if it's relevant). We've been caught short by a vehicle problem that

  1   2   >