I tried to write a little utility to submit a command to the At Facility.
The code to do this is as follows:
program TestPrg;
Uses Classes, Process;
Var
i:Integer;
Cmd, Pre, Post, StrVar, SwStr:String;
MyProcess: TProcess;
SOut, EOut, StdStrLst: TStringList;
Begin
StdSt
After running tstringlist.savetostream how can I make sure that the
buffer has been flushed and data sent successfully?
Thx
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Ok, I have a Lazarus test program that has the following code:
procedure TMainForm.ExecButClick(Sender: TObject);
Var
StdStrLst, ErrorStrLst: TStringList;
MyProcess: TProcess;
begin
StdStrLst := TStringlist.Create;
ErrorStrLst := TStringlist.Create;
MyProcess := TProcess.Cr
, {B38400 opost isig icanon echo ...}) = 0
munmap(0x7f513a9b4000, 32768) = 0
exit_group(0) = ?
Message: 5
Date: Wed, 17 Mar 2010 06:52:50 +0100 (CET)
From: mar...@stack.nl (Marco van de Voort)
Subject: Re: [fpc-pascal] Re: tstringlist.savetostream
To: FPC-Pa
I have a desktop with a 64bit AMD x4 Phenom processor. I have noticed
that FreePascal programs perform worse on this computer then they do on
my 32 bit laptop. Integer performance seems to be about 3 times worse
then on the laptop. Now if I convert the pascal source to c and compile
that as
I was trying to see how to write a Console Appication in FreePascal
that will connect to MySQL. I know how to do this in c, but thought it
would be interesting to be able to do it in Pascal.
How should FConnection and FTransaction be declared or are the declared
in a library somewhere?
I have t
I'm sure its possible to connect to Mysql with Zeosdbo from a command
line FreePascal Program, but I am not sure how. I tried using the same
includes that are for the Lazarus components, but it didn't find those
files.
Any help would be appreciated.
I was kind of unimpressed with the performance of TSqlQuery compared to
c.
I wrote two programs that built the same identical table. A random set
of names with addresses. I found the user time of the program written
in c was 20% of that which was written in Free Pascal.
Is there any chance of
Is it possible to connect to MySQL 5.7 using TSQLConnection or will I
have to downgrade my MySQL Version? I have FreePascal 3.0.0 which
appears to be the most current version. I have it on a Ubuntu Linux
16.10 X86-64 system.
___
fpc-pascal maillist -
What library do I need to install on Raspian (Raspberry Pi) to allow
Free Pascal to attach to a Mysql Server. Note the MySQL Server is
running on a i5 and is actully MariaDB 5.5.47
An unhandled exception occurred at $000E7398:
EInOutError: Can not load default MySQL library ("libmysqlclient.so.1
Hello,
This is probably a dumb question. But I have data in a tstringlist that
I want to upload into a MediumText MySQL column. It looks to me as if
you do something like:
Stream := TMemoryStream.Create;
MySL.SaveToStream(Stream);
Blobfield(BcfQuery.FieldByName('JobMemo'
First of all, thank you for looking at this, Terry H.
To compile a cli FreePascal program to use ZeosDBO library, I assume all
I have to do is include the path to those files.
On my laptop, the files appear to be in:
/home/terry/ZeosDBO/packages/lazarus/lib/x86_64-linux
Well after adding that t
would be.
Mostly, at this point,I want to compare ZeosDBO's performance against
SqlDB. I know how to do this with SqlDB, but think it's performance is
lackluster.
Terry H
On 13/02/2018 04:50 πμ, Terry A. Haimann wrote:
> First of all, thank you for looking at this, Terry H.
>
&g
Unit Zconnection
I only added the paths in temporarily.
On 13/02/2018 15:48 μμ, Terry A. Haimann wrote:
> I really do not understand your response. If you are talking about
> Lazarus, I already have it working there.
OK
> I am wanting to get it to
> work from a command line batch
On 13/02/2018 15:48 μμ, Terry A. Haimann wrote:
> I really do not understand your response. If you are talking about
> Lazarus, I already have it working there.
OK
> I am wanting to get it to
> work from a command line batch program using fpc. Using fpc I do not
> know how to set r
Hello,
I am trying to write a command Line Pascal program to connect to a MySQL
database using the ZeosDBO Library. I am sure I have done something
stupid.
I have it now so that it will compile, but it crashes as soon as I try
to modify my TZConnection variable.
I have it defined as:
I am trying to install zeosdbo onto my Lazarus install and am getting
the following error during the rebuild:
Build IDE: Exit code 512, Errors: 1lazarus.pp(1,1) Fatal: Cannot find
aarrebase used by Lazarus. Check if package aarrebase creates
aarrebase.ppu, check nothing deletes this file and check
Dumb question,
Is there a basic linked List object for Lazarus?
Terry Haimann
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
I am curious,
Has anyone benchmarked the new AMD Ryzen vs Intel chips with
FreePascal. 10 years or so ago, I had a multi core AMD Desktop and an
Intel based laptop. With FreePascal the laptop was outperforming the
desktop. When I upgraded that machine, I upgraded to Intel since I use
FreePascal
Hello,
I tried to compile something that used "osunits.inc" on a
Raspberry Pi. I couldn't find the file. Yes I installed fpc-source.
Thanks for your attention,
Terry H.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepa
I just upgraded to a new laptop and see that MariaDB is using MySQL 8.0
. I also see there is no connector in my Free Pascal install for MySQL
8.0. I do see that there is an open ticket to create a connector. Is
there an Alpha or Beta version of the connector available that I can
try?
Thank you
rry H.
On Sat, 18 Sep 2021, Terry A. Haimann via fpc-pascal wrote:
> I just upgraded to a new laptop and see that MariaDB is using MySQL
8.0
> . I also see there is no connector in my Free Pascal install for
MySQL
> 8.0. I do see that there is an open ticket to create a
connector. Is
https://github.com/fpc/FPCSource/tree/main/packages/mysql
I do not understand. I see a source file for mysql80dyn.pp, but
shouldn't tthere also be a mysql80conn.pp?
Terry H.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.free
Trying to compile a small test pascal program on a arm cpu. I beleive
it is an a53. Libre Le Potato
I am getting the following error:
Error: Error while assembling exitcode 1
Thanks in advance,
Terry H.
___
fpc-pascal maillist - fpc-pascal@lists
libre-computer:~/Documents/fpc/Silly$
On Mon, 2022-09-12 at 07:22 +0200, Christo Crause wrote:
>
> On Mon, 12 Sep 2022, 02:59 Terry A. Haimann via fpc-pascal, <
> fpc-pascal@lists.freepascal.org> wrote:
> > Trying to compile a small test pascal program on a
Dumb ?
What download should I use to install the latest version of FreePascal
on the OrangePi 4 LTS, I am running Debian 3.0.6 Bullseye.
The Orange Pi 4 LTS is an SBC running an ARM Processor.
Rockchip 3399 SOC
http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/orange-pi-4
26 matches
Mail list logo