[fpc-pascal] open source warehouse program: any hint?

2023-09-03 Thread duilio foschi via fpc-pascal
I am looking for a simple program as explained in the subject.. It should be in Pascal, Delphi or Lazarus. Any hint? Thank you Peppe Polpo ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinf

Re: [fpc-pascal] TFPHttpClient & TFPHttpServer

2023-01-03 Thread duilio foschi via fpc-pascal
Now everything is clear. Thank you Peppe Il Mar 3 Gen 2023 22:59 Michael Van Canneyt via fpc-pascal < fpc-pascal@lists.freepascal.org> ha scritto: > > > On Tue, 3 Jan 2023, duilio foschi via fpc-pascal wrote: > > > I would like to write some code where a TFPHttpClie

[fpc-pascal] TFPHttpClient & TFPHttpServer

2023-01-03 Thread duilio foschi via fpc-pascal
I would like to write some code where a TFPHttpClient component sends a minimal json payload to a TFPHttpServer that (reads the payload). The working of the TFPHttpClient component is clear enough, while its counterpart TFPHttpServer proves rather obscure to me. TFPHttpClient === Page ht

Re: [fpc-pascal] FPC and WebAssembly

2021-12-24 Thread duilio foschi via fpc-pascal
Thank you for your precious work and happy winter solstice to everybody! :) On Fri, Dec 24, 2021 at 2:46 PM Jean SUZINEAU via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > Wonderful ! > > Thank you very much for all your work and all the work of the FPC / > Lazarus team ! > > And Merry C

Re: [fpc-pascal] is this a bug?

2021-06-03 Thread duilio foschi via fpc-pascal
ror prone IMHO. On Thu, Jun 3, 2021 at 10:32 AM Dennis Lee Bieber via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > On Wed, 2 Jun 2021 13:00:12 +0200, duilio foschi via fpc-pascal > declaimed > the following: > > >I am using FPC v. 3.2.0 on both linux and windows.

[fpc-pascal] is this a bug?

2021-06-02 Thread duilio foschi via fpc-pascal
I am using FPC v. 3.2.0 on both linux and windows. I use Firebird as a database (not sure that this is important). Say you write var AConnection:TIBConnection; AQuery:TSQLQuery; ATran:TSQLTransaction; begin // create the components... // open a database... // prepare a first query...

Re: [fpc-pascal] compiling on command line linux

2021-02-16 Thread duilio foschi via fpc-pascal
very good. I created the new directories ./synapse and ./lazutils in /usr/lib/fpc/3.2.0/units/x86_64-linux It worked like a charm. It seems that all the units in that directory are searched by default. Thank you Duilio On Tue, Feb 16, 2021 at 7:29 AM Sven Barth wrote: > Am 15.02.2021 u

[fpc-pascal] compiling on command line linux

2021-02-15 Thread duilio foschi via fpc-pascal
Today I had to compile a program on my Linux server. The program was written for windows and needed libraries synapse and lazutils, and they were missing from the server. I copied all the needed units from my PC into the linux work directory and it worked with the usual command fpc programname.

Re: [fpc-pascal] Rest in peace Martin Schreiber

2018-12-29 Thread duilio foschi
"No man is an island, entire of itself; every man is a piece of the continent, a part of the main; if a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friends or of thine own were; any man's death

Re: [fpc-pascal] Partial text search in a dictionary

2017-05-15 Thread duilio foschi
a pointer is - after all - just an integer. See http://delphi.cjcsoft.net/viewthread.php?tid=44049 Instead of TStringLIst use a SQLite (open source) in-memory table to store your data. The table can be indexed and searched using function Locate with option loPartialKey. Just my 2c Peppe 201

Re: [fpc-pascal] silly question

2017-05-07 Thread duilio foschi
2017-05-07 17:13 GMT+02:00 Michael Van Canneyt : > > > On Sun, 7 May 2017, duilio foschi wrote: > >> I am have FPC v. 2.6.2 installed on linux/ubuntu server A. >> >> I am sure I did some change to zeos library in server A, but I cannot >> remember details. >&g

[fpc-pascal] silly question

2017-05-07 Thread duilio foschi
I am have FPC v. 2.6.2 installed on linux/ubuntu server A. I am sure I did some change to zeos library in server A, but I cannot remember details. I'd like to have the same version of FPC installed on a new linux/ubuntu server B. I found that FPC v. 3.0.2 was already installed on server B. Usi

[fpc-pascal] GetEnv and large strings.

2017-02-16 Thread duilio foschi
I am using Free Pascal Compiler version 2.6.2-8 [2014/01/22] for x86_64 Copyright (c) 1993-2012 by Florian Klaempfl and others Target OS: Linux for x86-64 I created a few CGIs and discovered that function GetEnv(envvar: string):string; in unit Dos returns up to 256bytes (only). I need GetEnv to

[fpc-pascal] minimal database example

2016-12-16 Thread duilio foschi
I have a remote server with Ubuntu 14.04.1 LTS. I access the server via terminal console. Free Pascal Compiler version 2.6.2-8 [2014/01/22] for x86_64 is installed. Lazarus is NOT installed. I'd like to write code where a Firebird (2.5) database is accessed and a query performed. I could succe

Re: [fpc-pascal] Reed-Solomon algorithm

2016-09-16 Thread duilio foschi
t, so will stay with the code from sourceforge. This has been tested far and wide :) Thank you Peppe 2016-09-16 1:48 GMT+02:00 Ralf Quint : > On 9/15/2016 3:07 PM, duilio foschi wrote: >> >> https://sourceforge.net/projects/rscode/?source=typ_redirect >> >> The code above

Re: [fpc-pascal] Reed-Solomon algorithm

2016-09-15 Thread duilio foschi
he Reed Solomon algorithm. > > I think that it's possible to build a dll from sources and create the > corresponding fpc binding from the .h include file. > > Best regards. > > Sandro Cumerlato > > > On 15 Sep 2016 18:29, "duilio foschi" wrote: > &

[fpc-pascal] Reed-Solomon algorithm

2016-09-15 Thread duilio foschi
can somebody point me to the algorithm above written in Pascal ? As an alternative, can somebody point me to the algorithm above written in some DLL I could use from FPC ? Thank you Peppe Polpo ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.or

[fpc-pascal] firebird UDF

2016-06-12 Thread duilio foschi
can somebody point me to some source code ready to be compiled for Ubuntu ? Thank you Peppe Polpo ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] access a google spreadsheet

2015-07-24 Thread duilio foschi
-07-24 20:55 GMT+02:00 duilio foschi : > sorry to be so ignorant. > > I never used subversion. > > I tried the following, with no success: > > D:\Program Files\SlikSvn\bin>svn checkout > http://svn.freepascal.org/svn/trunk//p > ackages/googleapi > svn: E175002: Unexp

Re: [fpc-pascal] access a google spreadsheet

2015-07-24 Thread duilio foschi
es/googleapi' svn: E175002: Additional errors: svn: E175002: PROPFIND request on '/svn/trunk/packages/googleapi' failed: 405 Me thod Not Allowed How do I check subversion trunk/packages/googleapi ? Thank you Peppe 2015-07-24 10:42 GMT+02:00 Michael Van Canneyt : > > >

[fpc-pascal] access a google spreadsheet

2015-07-24 Thread duilio foschi
Hi! I'd like to sync an Android database using a google spreadsheet. I am aware of this code pascal-googleapis-oauth2 However I dont see a pascal implementation of Google Data APIs. Will have to use Python or Java ? Thank you Peppe ___ fpc-pascal ma

Re: [fpc-pascal] SourceForge April 2014 Project of the Month: Free Pascal

2014-04-15 Thread duilio foschi
congratulations! 2014-04-15 19:43 GMT+02:00 Andreas Schneider : > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > On 15.04.2014 14:43, João Marcelo Vaz wrote: > > Congratulations, FreePascal! > > > > http://sourceforge.net/blog/april-2014-project-of-the-month-free-pascal > I just saw tha

[fpc-pascal] newbie question: using fpc in linux

2013-04-03 Thread duilio foschi
thanks to your suggestions, I could compile and successfully test the 'hello world' code that comes with the brook framework. Now I am ready to wet my feet in the world of web programming. In my company we have a few dedicated (remote) servers running linux. And (when I will be able to get real

Re: [fpc-pascal] Re: newbie question

2013-03-30 Thread duilio foschi
ok, it is clear now :) Thank you Peppe 2013/3/30 Jonas Maebe > > On 30 Mar 2013, at 20:14, duilio foschi wrote: > > the version is: > > Free Pascal Compiler version 2.4.4-3.1 [2012/01/04] for x86_64 > Copyright (c) 1993-2010 by Florian Klaempfl > > Please r

Re: [fpc-pascal] Re: newbie question

2013-03-30 Thread duilio foschi
the version is: Free Pascal Compiler version 2.4.4-3.1 [2012/01/04] for x86_64 Copyright (c) 1993-2010 by Florian Klaempfl >Please read the requirements before installing somebody else did the installation. Could you expand on this ? You suspect that some requirement was not met ? Thank you P

[fpc-pascal] newbie question

2013-03-29 Thread duilio foschi
I had somebody install fpc and brook framework into my linux server (as probably I would not had been able to do it) Then I tried to compile the first 'hello world' example of the brook framework. Soon I discovered that - fpc configuration file is called /etc/fpc.cfg - Fu switch must be used to

[fpc-pascal] interactively draw an ellipse

2013-01-23 Thread duilio foschi
Hi! this code procedure TForm1.DrawBtnClick(Sender: TObject); {Draw some ellipses on the canvas - random size and color} var i:integer; cx,cy:integer; begin with image1, canvas do begin for i:= 1 to 10 do begin cx:=random(width); cy:=random(height); brush.color:=

[fpc-pascal] mobile application

2012-11-19 Thread duilio foschi
Hi All, I need to identify a reliable portable device that I can program in FPC-Pascal. This device could be a smartphone or whatever you suggest. Cost is one element to keep in mind. After the test period, we plan to buy about 50 devices. I am an old Delphi programmer and mobile is new stuff

Re: how to install ? [Re: [fpc-pascal] fpGUI Toolkit v0.7-rc2 for FPC 2.4]

2010-05-06 Thread duilio foschi
>This is a status update of what is happing with the fpGUI 'happing' ? Rgds Duilio ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-05 Thread duilio foschi
>> I am working on a project now for RIA similar in concept to ExtPascal, but >> abstracting out the UI framework with most of the logic executing on the >> server so that I can plug in different UI's without touching my >> model/controller. > > That is what I looking for! > That is what I looking

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-03 Thread duilio foschi
Lele, I need instructions for _dumbier_ users :) 1. == >After hosted, CGI can now be used normally as >http://www.yourserver.com[.xx]/yourlogin/cgi-bin/cginame.exe (I will use my web browser, I suppose...) However I have no web site on my server... :( So where to store and how to call the app

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-02 Thread duilio foschi
how do I build a minimal 'hello world' CGI application under Free Pascal ? Where do I find 'instructions for dummies' ? Peppe 2010/5/2 Lee Jenkins : > Graeme Geldenhuys wrote: >> >> On 2 May 2010 17:17, Marcos Douglas wrote: >>> >>> I need to rewrite a Desktop app, coded in Delphi 7, to Web.

Re: [fpc-pascal] Servlet server for Fpc apps

2009-03-29 Thread duilio foschi
please excuse my ignorance, but I have a question I need to ask from long time: why is Java fit to create a web application and Pascal is not ? Why does one need to translate from Pascal to Java ? Thank you Duilio Foschi ___ fpc-pascal maillist

Re: [fpc-pascal] absolute beginner

2009-02-01 Thread duilio foschi
wow! There is a whole world to explore ! Thank you Duilio 2009/2/1 dmitry boyarintsev : >> what is LCL ? >> A research in the net brought 'Le Crédit Lyonnais', but I doubt that >> this is the correct anser :) > > LCL stands for Lazarus Component Library, see this page for more details > http://w

Re: [fpc-pascal] absolute beginner

2009-02-01 Thread duilio foschi
Dmitry, what is LCL ? A research in the net brought 'Le Crédit Lyonnais', but I doubt that this is the correct anser :) Thank you Duilio 2009/2/1 dmitry boyarintsev : >> No, chances are very low. It's a component which will most-probably >> depend on several vcl-internals with which the FCL i