Hi guys,
Just a stupid question, but is the Lazarus calling conventions documented
anywhere? Is it different from Delphi calling conventions? When calling
external c functions from libraries, does one need any special declarations
like in Delphi to tell it to use c-style calling conventions?
Hi Bo,
From: Bo Berglund
>
I am programming with FreePascal and Lazarus towards a Raspberry Pi2
> target platform. Doing so on the RPi2 itself is possible and basically
> works fine, except that the system is a bit sluggish at times and
> there are other inconveniences
> From: Graeme Geldenhuys
I think it is safe to say we would all love such a solution for Object
> Pascal too. But unfortunately C is an overwhelmingly popular language,
> and most core functionality of an OS or library is implemented in it.
> Personally I
Hi
On 4 December 2015 at 18:14,
wrote:
>
> > I'd like to hear from others about their anti hacking tools ... ;)
>
In addition to some good points already made, I would refer you to an old
and still good article at:
Hi guys,
I need to know if I can use Lazarus for mibile development on Android,
Windows mobile and iOS (iPhone)?
I currently use a program (written in Delphi, I think) that runs only on
Android and Windows mobile (and Palm OS?) called CyberTracker, which uses
MS access (.MDB) files to store both
Hi Juha
On Mon, Aug 10, 2015 at 5:29 PM, Michael Van Canneyt
mich...@freepascal.org wrote:
- As part of the build instructions, dependencies between packages but
also
between units can (and must) be specified.
Why is that?
Unit dependencies are already specified in uses sections of
Hi guys,
The recent threat on Raspberry libraries made me think. I remember that it
was possible in Delphi to access .ddl libraries written in C or C++ (a bit
more work) by wrapping them and using a far call? I did this a while ago,
so not clear on the details anymore. Typically I would write a
Hi guys,
I asked advice a long time ago on a small/embedded database that could be
used for a desktop application and distributed by CD as part of the
application.I got a variety of answers including mySQL, sqlite and others.
At the time I was very partial to somehow using postgreSQL, because I
Hi Lazarus Gurus,
This is a follow-up on a previous question RE OpenGL components for
Lazarus. In addition to learning openGL,what I really want to do is write a
3D desktop environment for Linux (in Lazarus, if possible). Since OpenGL is
also available for Windows and Lazarus can cross-compile,
Hi Lazarati
I have two questions:
1. Have there ever been a Free Pascal implementation of OpenGL? I would
like to learn OpenGL and was wondering if I will be forced to use C++/C or
if there are other options.
2. I know there are (or have been) various OpenGL Lazarus components (e.g.
GLScene, NX
Thanks everybody!
The two links were just what I needed. And some parts were faintly
familiar. :-)
Cheers
Chavoux
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Hi everybody!
Years ago I used Delphi (on Windows) to access a C or C++ API (for talking
directly with embedded device) and I can remember that there were a number
of gotchas (e.g. the calling convention had to be changed form Pascal to
something else (extern?) etc. ).
Now I am wondering about
Hi everybody
I think I am missing something, but reading through the TFindDialog
help file I still cannot figure it out: How do I specify which text
(or component) must be searched?
What I actually want to do, is to search through all files in a
directory for a specific string (the one in
Hi all
I have used Lazarus with PostgreSQL in a client-server setup before.
It worked very well when I installed it at a client.
I have also written desktop Delphi programs using Paradox as database
and InstallShield as the installer before, which worked very well for
distributing programs on CD
Hi Mattias
On 31 July 2013 11:00, lazarus-requ...@lists.lazarus.freepascal.org wrote:
TComponent does not have Enabled. So the above code does not work.
TControl has Enabled.
Disabling a control (e.g. no focus, some widgetsets draw them
gray) automatically disables child controls. So the
Hi Mark
On 16 July 2013 09:47, lazarus-requ...@lists.lazarus.freepascal.org wrote:
Send Lazarus mailing list submissions to
lazarus@lists.lazarus.freepascal.org
From: Mark Morgan Lloyd markmll.laza...@telemetry.co.uk
snip
If it really is so bad, why have so many developers- in
Hi Henry
On 16 July 2013 10:28, lazarus-requ...@lists.lazarus.freepascal.org wrote:
From: Henry Vermaak henry.verm...@gmail.com
snip
If it really is so bad, why have so many developers- in particularly
web developers- clasped it to their bosom?
Probably not, no, given that it's used by
Hi guys
I am still running lazarus v.1.0 RC, basically because I installed a bunch
of components (mostly 3D - GLScene, OpenGL, etc) and I can no longer
remember which ones came as part of Lazarus and which ones I had to install
myself (I am also a bit afraid that updating lazarus and fpc might
Hi Mattias
Thanks... that looks really easy! I just want to confirm that this will
work the same when I install from .deb file instead of compiling from
source?
Cheers
Chavoux
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
Hi all
This might be slightly off-topic... I have some fpc -related questions:
1. How good is Lazarus/fpc for embedded programming (compared to C)? It
will probably be on a (custom-made) device with ARM/Atmel-based chipset
(with or without an OS - will this make a difference?).
2. I remember that
Hi Michael
On 7 March 2013 12:11, Michael Schnell mschn...@lumino.de wrote:
On 03/07/2013 10:45 AM, Chavoux Luyt wrote:
1. How good is Lazarus/fpc for embedded programming (compared to C)? It
will probably be on a (custom-made) device with ARM/Atmel-based chipset
(with or without an OS
Hi Reinier
On 7 March 2013 13:18, Reinier Olislagers reinierolislag...@gmail.com wrote:
On 7-3-2013 11:57, Chavoux Luyt wrote:
Will depend on the chipset and hardware design... can this be done using
fpc?
fpc list please.
I am not currently a member of that list. Should I join fpc-Pascal
Hi
On 7 March 2013 15:20, Graeme Geldenhuys gra...@geldenhuys.co.uk wrote:
On 2013-03-07 12:33, Michael Schnell wrote:
While fpc officially does support Cross compiling, it is no especially
easy to get it working (see the appropriate Wiki articles)
All it takes is a bit of practice with the
Hi Johann
I have had similar issues in the past. I would really be nice if (like
Delphi) there was a setting in the Tools/Options window where you could set
(or at least see) the paths to all the units used by Lazarus as well as a
separate setting for the paths to all the units used by the
Hi Mattias
On 19 February 2013 11:12, Mattias Gaertner nc-gaert...@netcologne.dewrote:
snip
On some Linux the QT version is faster. Unfortunately there is no
debian package for that. But compiling it is easy.
Is there anywhere where it is explained how this was done? The original
Delphi
Thanks Mattias Sven!
On 19 February 2013 11:43, Mattias Gaertner nc-gaert...@netcologne.dewrote:
snip
See here:
http://wiki.freepascal.org/Qt_Interface#Quick_start_guide_for_Linux
snip
http://wiki.freepascal.org/LCL_Internals
Sven Barth pascaldra...@googlemail.com via
Hi Johann
I wasn't going to comment since this is for a command-line program. But
what version of Lazarus do you have (and on which version of Debian)? I ask
because the Debian Lazarus packages are notoriously out of date. (E.g.
Lazarus 1.0+ has been out for a while, but not available from the
Hi
When I click the Save all button, don't Lazarus save only the files
that have changed since the last save? In that case, a snapshot
needs only store the information that will be saved when the Save
all button is clicked (and this information should be known somewhere
in Lazarus). AFAIK that
This is where one would want generics... I am not sure if this is
implemented in Object Pascal yet (but it is part of C++ and other
languages). I remember it being on the wish list for Delphi for a long
time, but don't know if it ever got implemented?
It would be nice if all Lazarus components
Hi Mattias
On 21 November 2012 09:34, Mattias Gaertner nc-gaert...@netcologne.dewrote:
On Tue, 20 Nov 2012 13:27:54 +0200
Chavoux Luyt chav...@gmail.com wrote:
Hi all
I just wanted to make confirm that I am correct: If I update Lazarus
(using
apt on debian-based system) I will need
Hi all
I just wanted to make confirm that I am correct: If I update Lazarus (using
apt on debian-based system) I will need to reinstall all the extra
components (glScene) that I have currently installed? That is the way it
would have worked with Delphi, but Delphi updates were much less frequent.
Hi Howard
On 8 November 2012 21:26, Howard Lee Harkness howard.lee.harkn...@gmail.com
wrote:
I'm a relative n00b at Linux admin stuff, but I'd really like to be able
to run Lazarus on the Debian system I've just inherited at my new contract.
I have done a checkout of the Lazarus svn
Hi Howard
On 8 November 2012 21:49, Howard Lee Harkness howard.lee.harkn...@gmail.com
wrote:
I was not able to find the deb files. How do you download them? When I did
a search for lazarus install on debian, I got a list of installation
instructions for everything except Debian -- and
Hi guys
How do I add the nxPascal directory (or other units (.pas files)) to the
Lazarus source directory? I assumed that I had to add it to
Tools-Options-Environment-Files-FPC Source Directory (or should it be
added to the Lazarus directory instead?), but then it replaces the
Thanks Mattias
On 14 October 2012 23:04, Mattias Gaertner nc-gaert...@netcologne.dewrote:
On Sun, 14 Oct 2012 22:44:29 +0200
Chavoux Luyt chav...@gmail.com wrote:
Hi guys
How do I add the nxPascal directory (or other units (.pas files)) to the
Lazarus source directory?
snip
Do you
Guys
I think we might be getting slightly off-track. Am I right in saying that
the consensus seems to be that Delphi compatibility is basically one-way?
I.e. from Delphi to Lazarus, but not necessarily the other way round? If we
make extensions to the the IDE that does not exist in Delphi, I can
I would also like some clarification on this question. I think
personally that it should be a one-way conversion process... i.e. it
should be possible to port/import any Delphi project into Lazarus
without problems, but not necessarily the other way round.
One possible way to implement it is to
Hi
On 19 September 2012 09:01, Martin laza...@mfriebe.de wrote:
On 18/09/2012 22:19, Juha Manninen wrote:
The right fix would be to clear the last opened project memory when a
project is closed.
Then a new project would be created when Lazarus starts next time.
I didn't look at the code
+1
On 17 September 2012 07:39, Reinier Olislagers
reinierolislag...@gmail.comwrote:
MML's post on stable islands has made me think.
Below some ideas for discussion:
If we want to know whether a certain combination of
OS+FPC+Lazarus+packages is stable, we:
1. should ask the user
2. don't
Hi Leonardo
On 17 September 2012 13:53, Leonardo M. Ramé l.r...@griensu.com wrote:
On 2012-09-17 09:18:22 +, Mark Morgan Lloyd wrote:
Leonardo M. Ramé wrote:
I've installed FPC 2.7.1 from sources and Lazarus also from
sources.
Just one question: Are you sure Lazarus works
Hi guys
On 3 September 2012 02:34, Craig Peterson cr...@scootersoftware.com wrote:
I don't think it's an open source vs closed source mentality. It's quite
possible that Uwe can't open source it; in the post you linked he even
mentions that he used knowledge of the compiler internals to
Hi Michael
On 29 August 2012 09:50, Michael Schnell mschn...@lumino.de wrote:
On 08/28/2012 04:23 PM, Chavoux Luyt wrote:
I remember reading a long time ago that Lazarus has to be rebuilt
whenever a new component is added. I know that this is not necessary in
Delphi.
Recompiling is just
Hi guys
I remember reading a long time ago that Lazarus has to be rebuilt whenever
a new component is added. I know that this is not necessary in Delphi. Can
someone explain why? Or refer me to the right documentation (or code). Is
this a FPC problem or Lazarus specific? What I really want to
Thanks for the link guys!
On 28 August 2012 16:51, Graeme Geldenhuys gra...@geldenhuys.co.uk wrote:
As Mattias suggested, read the wiki page to fully understand the issue (or
non-issue).
Coming from a Delphi background (where developers can't rebuild the IDE),
it must sound like a daunting
Sorry for a newbie question, but how is FPC connected to gcc anyways?
Doesn't it translate the (object) pascal code directly into the
various machine languages for the different platforms (Or into
assembler and then machine language)? Pascal, only needs a one-pass
compiler, making it by nature
Hi Mattias
On 14 August 2012 11:17, Mattias Gaertner nc-gaert...@netcologne.de wrote:
Can you test with Lazarus 1.0 RC1?
I installed 1.0 RC1 and it is working without problems now.
Thanks!
Cheers
Chavoux
--
___
Lazarus mailing list
Hi guys
When I try to install a new package (glScene), everything seems to compile
fine, only to stop with a fatal error:
/usr/bin/ld: warning: ../link.res contains output sections; did you forget
-T?
/usr/bin/ld: cannot find -lXxf86vm
lazarus.pp(133,1) Error: Error while linking
Thanks Daniel
On 13 August 2012 19:12, Daniel Gaspary dgasp...@gmail.com wrote:
I believe you are using ubuntu, and this is happening because a missing
library.
Try to install the following package: libxxf86vm-dev
sudo apt-get install libxxf86vm-dev
I am actually using Debian, but that
Hi guys
I am thinking of writing a new (3D) window manager for linux using
OpenGL/glScene in Lazarus. Do you think it is the right tool for the job,
or should I rather look at something else using C or C++ directly with
openGL?
Thanks!
Chavoux
--
___
Hi Graeme
On 8 August 2012 10:20, Graeme Geldenhuys graemeg.li...@gmail.com wrote:
The Object Pascal language is 100% fine for just about any task
GUI app, Console app, CGI / Web app, Services/Daemon apps etc. There
are already a few X11 window managers implemented using Object Pascal.
Hi Everybody
When I want to compile (and install) the ImagesforLazarus package, I get an
error: Error: Duplicate identifier IMAGESFORLAZARUS
I am trying to install the glScene package and need this package to be
installed first. Any ideas why?
In the source code I see this:
{ This file was
51 matches
Mail list logo