Hi guys,
I'm porting some old code away from libc. I'm looking for the unit that
contains the linux error code enums, like EBADFD, EAGAIN, EINTR, etc
Which non-libc unit do I use for these? Platform: ppcarm
I already have BaseUnix, Linux, termio, errors, but the linux Exxx
constants are not in t
TProcess rocks. I stress tested on a pi3 with large gulps using
TProcess.Output.Read
Thank you.
On Fri, Oct 13, 2017 at 2:22 PM, Marco van de Voort wrote:
> In our previous episode, Desmond Coertzen said:
> >
> > Anyone knows which unit I need to get to PIOFILE and related
Hi there,
Anyone knows which unit I need to get to PIOFILE and related functions for
popen, pclose etc to do piping? It's a libc thing i'm looking for, but on
arm linux (raspbian) with fpc from package manager.
Thanks
___
fpc-devel maillist - fpc-deve
Hello,
Who did the Afrikaans (AF) section of the wiki pages?
Graeme was that you?
I would like to contribute translations to any outstanding translations.
How do I go about this?
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.f
Answer to my own question to be found in thread with subject "cdecl and
constant parameters"
On Tue, Jul 20, 2010 at 11:12 PM, Desmond Coertzen <
patrolliekapt...@gmail.com> wrote:
> Is a const passed by reference in pascal calling convention? I hope so.
>
>
> On
Is a const passed by reference in pascal calling convention? I hope so.
On Tue, Jul 20, 2010 at 9:07 PM, Jonas Maebe wrote:
>
> On 20 Jul 2010, at 18:18, Joost van der Sluis wrote:
>
> > In a safecall method definition on win32, is a parameter with the
> > 'const' identifier always passed by refe
Has anyone established SSL connections lnet library?
The HTTP get example that comes with lnet fails with access violation when
requesting https url.
Has anyone some example how to use the sslsession or socket by itself to
establish ssl connection?
Thanks
Please kill this bug, the real issue is on bug 14936.
The first issue issue timed out when attaching the sample file. The sample
was was over 2MB, so I removed the binaries and sent only the code.
Afterwards, bug 14937 also came through.
I don't know why, I think it the first operation just took
More testing...
I think the problem here is not the speed at which i can splash stuff onto a
canvas (the difference between GTk1 vs GTk2 is very little), but rather the
rate at which the OnPaint events are called with the TCustomControl class
when using with GTk2
There seems to be a delay of at l
w
On Mon, Oct 19, 2009 at 4:38 PM, Graeme Geldenhuys
wrote:
> 2009/10/19 Desmond Coertzen :
> >
> > The default widget se is gtk2. I'm trying to do a test where i am
> compiling
> > against gtk1, but i get a compiler error when trying to go back to gtk1 :
> > &qu
I have a stupid question, but I can not for the life of me figure this out
quickly:
Recent official release of lazarus was 0.9.28, it is based on fpc 2.2.4-0.
The default widget se is gtk2. I'm trying to do a test where i am compiling
against gtk1, but i get a compiler error when trying to go bac
. Please feel free to slap me.
I have stopped my whining and ported the code from c++ to fpc.
Problem solved.
On Mon, Sep 14, 2009 at 8:34 PM, Marco van de Voort wrote:
> In our previous episode, Desmond Coertzen said:
> > I need some advice:
> >
> > I have a few c++ so
I need some advice:
I have a few c++ source files containing conversion functions. Is it at all
possible to compile them into my fpc project?
I imagine I have seen this in kylix 3. Is this possible with fpc? Am I under
the influence of a pipe dream?
___
(MyClass.MyMethod)).Code));
writeln(hexStr(TMethod(TMyEvent(MyClass.MyMethod)).Data));
FreeAndNil(MyClass);
end.
On Thu, Sep 10, 2009 at 2:56 PM, Peter Vreman wrote:
> On Thu, 10 Sep 2009 14:25:26 +0000, Desmond Coertzen
> wrote:
> > I have done some horrible code where I needed
I have done some horrible code where I needed to know the following:
If TSomeProc = procedure(), then is it easy to determine or set entry
vector of ThatProc: TSomeProc by stating ThatProc :=
@ProcWhereTheCodeLives_InTheCodeSegment;
It gets more difficult when you work with TSomeClassProc = p
Hi Graeme
> It seems the SqlDB + Firebird code only looks for 'libgds.so' and
> 'libfbclient.so' giving the following error at runtime...
With my last production experience with Firebird, libgds.so was the stubs to
the old Interbase lib where Firebird derived from. libfbclient.so.x is
backwards c
other units to
compile is in an svn external under lib directory.
The code is extremely ugly. Good luck.
On Mon, Aug 17, 2009 at 1:30 PM, Graeme Geldenhuys <
grae...@opensoft.homeip.net> wrote:
> Desmond Coertzen wrote:
>
>> I tried TPQConnection in a production environmen
Hi Graeme,
The libpq_api.pas that ships with FPC implements all the functions from the
version 3 native api on windows and linux. This .so/.dll is backwards
compatible even with the latest versions of postgresql server.
I tried TPQConnection in a production environment on a server-side deamon,
an
> It's big endian on big endian architectures.
Which arhictecture(s) does big endian?
On Fri, Jul 31, 2009 at 11:29 AM, Jonas Maebe wrote:
>
> On 31 Jul 2009, at 13:21, Desmond Coertzen wrote:
>
> As far as endian is concerned: Integer types i found always to be little
>
yntax will work, I can only suggest sticking with pascal
as close as possible. It's a fantastic language.
On Thu, Jul 30, 2009 at 10:15 AM, Marco van de Voort wrote:
> In our previous episode, Desmond Coertzen said:
> > No use for OS, just for smaller MCU's that are bit acces
ted on fpc wiki
On Thu, Jul 30, 2009 at 8:04 AM, Michael Schnell wrote:
> Desmond Coertzen wrote:
> > Is this correct for application?
> While I know that you in fact can use bitpacked records to access singe
> bits in the memory, I wonder what kind of OS you want to use in this
> a
wrote:
>
> Op Wed, 29 Jul 2009, schreef Desmond Coertzen:
>>
>> This is my first question / suggestion: With byte sized variables being
>>> the
>>> smallest accessible variable in the PC architecture, will we see a
>>> language
>>> extension to p
That is fantastic!
Is this correct for application?
var
SomeIOPort: nibbles;
begin
SomeIOPort.low[7] := 1;
end;
On Wed, Jul 29, 2009 at 4:47 PM, Daniƫl Mantione <
daniel.manti...@freepascal.org> wrote:
>
>
> Op Wed, 29 Jul 2009, schreef Desmond Coertzen:
>
> This
Hello everybody,
I'm new on the list. I have been using lazarus/fpc in huge projects for my
company and for my own private ventures. FPC is a fantastic project and our
true answer to Borland that has failed developers like me in a big way.
I'm joining the list with my recent read of the work bein
24 matches
Mail list logo