Re: [Lazarus] Cross-compiling to win32 from debian stretch

2017-11-27 Thread Péter Gábor via Lazarus
You may have a different fpc.cfg (named .fpc.cfg << spot the dot on Linux) in your home folder. 2017-11-28 00:41 keltezéssel, kardan via Lazarus írta: > Really appreciate the fast reply! > > On Tue, 28 Nov 2017 00:20:29 +0100 > Mattias Gaertner via Lazarus wrote:

Re: [Lazarus] Cross-compiling to win32 from debian stretch

2017-11-27 Thread kardan via Lazarus
Really appreciate the fast reply! On Tue, 28 Nov 2017 00:20:29 +0100 Mattias Gaertner via Lazarus wrote: > Check your -Fu paths in /etc/fpc.cfg. They should contain the > paths to fpc's i386-win32 ppu files. > > Mattias This is what i found related to -Fu in

[Lazarus] Cross-compiling to win32 from debian stretch

2017-11-27 Thread kardan via Lazarus
Hallo, As a I am new to this list, FreePascal and Lazarus I need a little help by you to crosscompile our project to win32. Compiling to win64 however succeeds: $ lazbuild --pcp=../../lazconf --os=win64 --cpu=x86_64 Tomboy_NG.lpi ... Free Pascal Compiler version 3.1.1 [2017/11/27] for x86_64

Re: [Lazarus] Compiling/linking/debugging package with generics

2017-11-27 Thread Donald Ziesig via Lazarus
On 11/27/2017 04:27 PM, Mattias Gaertner via Lazarus wrote: On Mon, 27 Nov 2017 15:52:09 -0500 Donald Ziesig via Lazarus wrote: [...] Are your 'Other unit files (-Fu)' paths in project inspector and your package empty? Yes, both are empty. Good. If your

Re: [Lazarus] Compiling/linking/debugging package with generics

2017-11-27 Thread Mattias Gaertner via Lazarus
On Mon, 27 Nov 2017 15:52:09 -0500 Donald Ziesig via Lazarus wrote: >[...] > > Are your 'Other unit files (-Fu)' paths in project inspector and > > your package empty? > Yes, both are empty. Good. If your project and packages have their own directories, it

Re: [Lazarus] Compiling/linking/debugging package with generics

2017-11-27 Thread Donald Ziesig via Lazarus
On 11/27/2017 01:41 PM, Mattias Gaertner via Lazarus wrote: On Mon, 27 Nov 2017 13:33:13 -0500 Donald Ziesig via Lazarus wrote: [...] When you change a pas file of your package and you compile your project, does the IDE automatically compile your package? Yes

Re: [Lazarus] Who is using Object Pascal in production?

2017-11-27 Thread Marcos Douglas B. Santos via Lazarus
On Mon, Nov 27, 2017 at 4:54 PM, Alexsander Rosa via Lazarus wrote: > > Our ERP (version 3) was written in Lazarus + PostgreSQL. > Is it desktop or web? Best regards, Marcos Douglas -- ___ Lazarus mailing list

Re: [Lazarus] External/out-of-tree LCL widgetset

2017-11-27 Thread Graeme Geldenhuys via Lazarus
On 2017-11-27 19:04, Graeme Geldenhuys via Lazarus wrote: Just so inform everybody. fpGUI has the ability to switch between "alien windows" (only a top level window handle) or "each widget has a handle" during compile time. I forgot to mention, the latest stable release of fpGUI Toolkit

Re: [Lazarus] External/out-of-tree LCL widgetset

2017-11-27 Thread Graeme Geldenhuys via Lazarus
On 2017-11-26 17:32, Kostas Michalopoulos via Lazarus wrote: Also AFAIK fpGUI doesn't use the native window system beyond the toplevel windows, which i think would make OpenGL support and interfacing with external stuff (e.g. calling an external library where you pass a HWND/X11 Window directly)

Re: [Lazarus] External/out-of-tree LCL widgetset

2017-11-27 Thread Graeme Geldenhuys via Lazarus
On 2017-11-23 02:23, Kostas Michalopoulos via Lazarus wrote: My main motivation is wanting to get away from the modern madness of GTK3+/Qt5+/Wayland and all that stuff and their dependencies Then my I suggest you take a look at the LCL-fpGUI widgetset. It has all the basic components working

Re: [Lazarus] Compiling/linking/debugging package with generics

2017-11-27 Thread Mattias Gaertner via Lazarus
On Mon, 27 Nov 2017 13:33:13 -0500 Donald Ziesig via Lazarus wrote: >[...] > > When you change a pas file of your package and you compile your project, > > does the IDE automatically compile your package? > Yes (at least it catches typos).  Also, the same problem

Re: [Lazarus] Compiling/linking/debugging package with generics

2017-11-27 Thread Donald Ziesig via Lazarus
On 11/27/2017 01:28 PM, Mattias Gaertner via Lazarus wrote: On Mon, 27 Nov 2017 13:15:36 -0500 Donald Ziesig via Lazarus wrote: [...] TL;DR   Library packages which declare generics do compile, but do not get included in the code that specializes them unless I

Re: [Lazarus] Compiling/linking/debugging package with generics

2017-11-27 Thread Mattias Gaertner via Lazarus
On Mon, 27 Nov 2017 13:15:36 -0500 Donald Ziesig via Lazarus wrote: >[...] > TL;DR   Library packages which declare generics do compile, but do not > get included in the code that specializes them unless I "Cleanup and > build" the whole program.  (Workable, but

Re: [Lazarus] External/out-of-tree LCL widgetset

2017-11-27 Thread Mattias Gaertner via Lazarus
On Mon, 27 Nov 2017 19:45:42 +0200 Kostas Michalopoulos via Lazarus wrote: >[...] > Thanks for the information. So in theory i could write a shell script that > creates a symbolic link lcl/interfaces/wsfoo that points to some external > (from Lazarus' source code

Re: [Lazarus] External/out-of-tree LCL widgetset

2017-11-27 Thread Kostas Michalopoulos via Lazarus
@Sven: Ah, i thought the custom drawn was built on top of LCL. Hm, regardless, it doesn't solve my concern, since what i want is to reuse my widget toolkit. Otherwise i'd probably work on fpGUI's Lazarus bindings since fpGUI seems to be more mature. @Martin: No, it is tied to LCL :-P a lot of

Re: [Lazarus] String Grid Component

2017-11-27 Thread Werner Pamler via Lazarus
Am 27.11.2017 um 17:51 schrieb Torsten Bonde Christiansen via Lazarus: [...]  so that i can copy/paste the data to the clipboard. Hmm... You must be aware that the DrawGrid does not own any data. Therefore it cannot copy anything to the clipboard. You'll have to write clipboard access by

Re: [Lazarus] String Grid Component

2017-11-27 Thread Torsten Bonde Christiansen via Lazarus
On 2017-11-27 16:48, Werner Pamler via Lazarus wrote: Am 27.11.2017 um 16:21 schrieb Werner Pamler via Lazarus: (a) What is "fast"? If I populate a standard TStringGrid with 100.000 rows x 100 columns (= 10 millions of cells) it takes about 9 seconds on my PC - if BeginUpdate/EndUpdate is

Re: [Lazarus] String Grid Component

2017-11-27 Thread Ondrej Pokorny via Lazarus
On 27.11.2017 13:43, Torsten Bonde Christiansen via Lazarus wrote: So i am asking if you know of a good string grid component that can handle both things equally well. TDrawGrid. Use a string/data storage of your choice. Ondrej -- ___ Lazarus

[Lazarus] String Grid Component

2017-11-27 Thread Torsten Bonde Christiansen via Lazarus
Hi List. I am looking for grid component that can display string. Simple enought and i know of a few already, but the ones i know of cannot do both of the following requirements i have: a) Fast (very low delay on 100.000+ lines of test) b) Allow selecting multiple cells spanning rows and

Re: [Lazarus] Developing a WidgetSet

2017-11-27 Thread Lubos Pintes via Lazarus
Hmm... But if I disable my UIA code then the form works as expected. Also If I place some standard control to a form like TButton. But I will try the MainFormInTaskbar property to see what happens. Dňa 26. 11. 2017 o 18:13 Ondrej Pokorny via Lazarus napísal(a): On 26.11.2017 16:09, Martin Frb

Re: [Lazarus] External/out-of-tree LCL widgetset

2017-11-27 Thread Michael Schnell via Lazarus
On 26.11.2017 17:13, Sven Barth via Lazarus wrote: Lazarus already contains a custom drawn widgetset that supports X11. I don't know its current state, but maybe it would be best to bring that up to speed and form instead of starting a new one. Some time ago I did play with the custom drawn

Re: [Lazarus] translation of oss' soundcard.h

2017-11-27 Thread Michael Van Canneyt via Lazarus
On Mon, 27 Nov 2017, Marc Santhoff via Lazarus wrote: Hi, has soundcard.h from OSS API already been translated to Pascal? OSS is used for accessing soundcards and MIDI devices by Linux and FreeBSD. Not that I am aware of. Michael. -- ___

Re: [Lazarus] translation of oss' soundcard.h

2017-11-27 Thread Marc Santhoff via Lazarus
Sorry, this would belong to the fpc list... On Mo, 2017-11-27 at 11:25 +0100, Marc Santhoff via Lazarus wrote: > Hi, > > > has soundcard.h from OSS API already been translated to Pascal? > > OSS is used for accessing soundcards and MIDI devices by Linux and > FreeBSD. > > TIA, > Marc > >