[fpc-pascal] What library would be recommended for creating pdf file (print invoices)

2013-05-02 Thread Adrian Maier
Hello guys , I'm wondering which is the best library available for freepascal that i could use to generate printable invoices? Most likely a lot of people need this kind of functionality in their applications, so ... perhaps there is some obvious choice that someone could point to me immediately ;

Re: [fpc-pascal] MS DOS 8086 compiler?

2013-04-29 Thread Adrian Maier
On Mon, Apr 29, 2013 at 7:37 PM, Nikolay Nikolov < nick...@users.sourceforge.net> wrote: > On 04/29/2013 12:49 PM, Michael Schnell wrote: > >> On 04/27/2013 02:11 PM, Bart wrote: >> >>> On 4/27/13, Reinier Olislagers wrote: >>> Noticed that an 8086 branch was merged to fpc trunk. Is it time

Re: [fpc-pascal] Problems with broken (or unclear) download urls for fpc-solaris

2012-03-28 Thread Adrian Maier
On Wed, Mar 28, 2012 at 10:45, Mark Morgan Lloyd wrote: > Adrian Maier wrote: >> >> Hello, >> >> I wanted to download the latest freepascal for Sparc Solaris . >> >> Issue 1: >> Opened the http://www.freepascal.org/download.var    ,   clicked on >&g

[fpc-pascal] Problems with broken (or unclear) download urls for fpc-solaris

2012-03-28 Thread Adrian Maier
Hello, I wanted to download the latest freepascal for Sparc Solaris . Issue 1: Opened the http://www.freepascal.org/download.var, clicked on the "SPARC Solaris" link. It opened the page for selecting the mirror. Clicked on Sourceforge , which lead to : http://sourceforge.net/projects/fre

Re: [fpc-pascal] Looking for a suitable graphics library/component

2011-03-22 Thread Adrian Maier
On Tue, Mar 22, 2011 at 18:13, Horacio Jamilis wrote: > You could take a look to AggPas. I'll look , thanks . -- Adrian ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Looking for a suitable graphics library/component

2011-03-22 Thread Adrian Maier
On Tue, Mar 22, 2011 at 17:18, Anthony Walter wrote: > For drawing lines, shapes, fills, on Linux I'd recommend using cairo. On > Windows I'd say you should use GDI or GDI+. You can find pascal files > importing the functions for those libraries using google. Some of them may > come with FPC. > >

[fpc-pascal] Looking for a suitable graphics library/component

2011-03-22 Thread Adrian Maier
Hello, I am seeking for some advice regarding what graphics library to use for a new project. I am aware that the application can be done by drawing lines, points and text within a canvas. But I am hoping to find out about the existence of some already existing libraries that would ease the devel

[fpc-pascal] Strange behaviour about class properties

2008-02-07 Thread Adrian Maier
d functions seems to fool the compiler into accepting any kind of argument , as long as there is an overloaded function matching its type. Is this a bug or a feature ? Cheers, Adrian Maier ___ fpc-pascal maillist - fpc-pascal@lists

Re: [fpc-pascal] Re: FCL-DB/SQLDB docs started

2008-01-24 Thread Adrian Maier
fpc, the documenatation should be in > the fpc-docs-repository. I have full write access there so at first I > can commit any changes. I have an (almost empty) framework ready. I you > want I can commit that, so you guys have something to start with. Wha

Re: [fpc-pascal] Re: FCL-DB/SQLDB docs started

2008-01-23 Thread Adrian Maier
On Jan 23, 2008 12:47 PM, Joost van der Sluis <[EMAIL PROTECTED]> wrote: > Op woensdag 23-01-2008 om 10:35 uur [tijdzone +0200], schreef Adrian > Maier: > > On Dec 4, 2007 10:41 AM, Adrian Maier <[EMAIL PROTECTED]> wrote: > > > On Dec 3, 2007 2:07 PM, Leonardo M

Re: [fpc-pascal] Re: FCL-DB/SQLDB docs started

2008-01-23 Thread Adrian Maier
On Dec 4, 2007 10:41 AM, Adrian Maier <[EMAIL PROTECTED]> wrote: > On Dec 3, 2007 2:07 PM, Leonardo M. Ramé <[EMAIL PROTECTED]> wrote: > > I like the idea, can you start by creating the section's skeleton? > > Here is a possible structure of the page.I'

Re: [fpc-pascal] copy(), length(), and setlength() is not mentioned in fpc docs?

2007-12-06 Thread Adrian Maier
90003.3.1 But I couldn't find anywhere the list of functions that can be used to perform operations on dynamic arrays . It is not intuitive nor logical to guess that the string functions are valid for dynamic arrays as well , therefore it looks like the dynamic array functions are in need of being

Re: [fpc-pascal] Re: FCL-DB/SQLDB docs started

2007-12-04 Thread Adrian Maier
.1 Structure of the FCL-DB directory in the FPC sources 6.2 Implementing a new kind of TSqlConnection 7. Resources - links to the reference pages of the classes used - links to tutorials, wiki pages, etc. -- Adrian Maier ___ fpc-pascal maillist - fp

Re: [fpc-pascal] Re: FCL-DB/SQLDB docs started

2007-12-03 Thread Adrian Maier
On Dec 3, 2007 2:07 PM, Leonardo M. Ramé <[EMAIL PROTECTED]> wrote: > I like the idea, can you start by creating the section's skeleton? > --- Adrian Maier <[EMAIL PROTECTED]> wrote: > > - I think that the guide should contain easily identifiable sub-sections :

Re: [fpc-pascal] Re: FCL-DB/SQLDB docs started

2007-12-03 Thread Adrian Maier
On Dec 3, 2007 1:44 PM, Vincent Snijders <[EMAIL PROTECTED]> wrote: > Adrian Maier schreef: > > - The guide should avoid ending up like this one : > > http://wiki.lazarus.freepascal.org/Lazarus_Database_Tutorial > > which contains 6 tutorials , each having its own,

Re: [fpc-pascal] can we have fpc's doc in chm format?

2007-12-03 Thread Adrian Maier
On Dec 3, 2007 1:41 PM, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > On 03/12/2007, Adrian Maier <[EMAIL PROTECTED]> wrote: > > > > What pdf viewer are you using? I can't do it on Linux with xpdf or > > kghostview. > > I use 'evince' whic

Re: [fpc-pascal] can we have fpc's doc in chm format?

2007-12-03 Thread Adrian Maier
On Dec 3, 2007 1:04 PM, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > On Mon, 3 Dec 2007, Adrian Maier wrote: > > > Also , it would be nice to be able to copy-paste procedure names and > > source code examples > > from the docs . > > This can be done wit

Re: [fpc-pascal] can we have fpc's doc in chm format?

2007-12-03 Thread Adrian Maier
ome logic (and/or heritage) in separating them that way, but it's difficult to hunt down all those procedures and functions throughout the RTL reference manual without proper search and browsing capabilities . Cheers, Adrian Maier ___ fpc-pascal ma

Re: [fpc-pascal] Re: FCL-DB/SQLDB docs started

2007-12-03 Thread Adrian Maier
On Dec 3, 2007 11:57 AM, Adrian Maier <[EMAIL PROTECTED]> wrote: > > For instance : > - I'd move the "Step-by-step" section before the box about FCL-DB , > or even in a separate page > because it seems to contain information for people who want to add >

Re: [fpc-pascal] Re: FCL-DB/SQLDB docs started

2007-12-03 Thread Adrian Maier
but afterwards the handling of the data is supposed to be the same regardless of the database being used. The mentioned wiki page fails to present the common elements involved in working with databases. Cheers, Adrian Maier ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Arrays of objects

2007-10-31 Thread Adrian Maier
; > > That's what i meant by "resize" as opposed to "reallocate" . Reallocation > > could occur in some other place in memory , leading to loosing the > > original contents. > > It does resize if possible, reallocate (and copy the original data as far as >

Re: [fpc-pascal] Arrays of objects

2007-10-31 Thread Adrian Maier
On 10/31/07, Joao Morais <[EMAIL PROTECTED]> wrote: > Adrian Maier wrote: > > On 10/31/07, Matt Emson <[EMAIL PROTECTED]> wrote: > >> Adrian Maier wrote: > >>> Hello, > >>> > >>> I'm seeking for advice about which is the best w

Re: [fpc-pascal] Arrays of objects

2007-10-31 Thread Adrian Maier
On 10/31/07, Matt Emson <[EMAIL PROTECTED]> wrote: > Adrian Maier wrote: > > Hello, > > > > I'm seeking for advice about which is the best way to hold an array of > > class instances > > I need to access the elements using its position (like a re

[fpc-pascal] Arrays of objects

2007-10-31 Thread Adrian Maier
very close to what i'm looking for, except that I couldn't find the documentation page of the SetLength procedure. In particular : what happens if i call this procedure again for the same array : an does it "re-allocate" memory for the array ,

[fpc-pascal] The SetLength procedure (which sets the size of dynamic arrays)

2007-10-22 Thread Adrian Maier
and locally with grep though the fpc-html-docs didn't give me meaningful results. Thanks, Adrian Maier ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Reading text from images

2006-12-13 Thread Adrian Maier
n the software description on their site). http://jocr.sourceforge.net/api/dox/globals.html -- Adrian Maier ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Reading text from images

2006-12-13 Thread Adrian Maier
here is little use in reinventing the wheel and implement ocr from scratch. I think the best way is to use an existing software from fpc , for example GOCR: http://jocr.sourceforge.net/ GOCR is based on a shared library, which means that it shouldn't be difficult to call the functions from freepasc

Re: [fpc-pascal] Executing python code from a pascal program

2006-11-14 Thread Adrian Maier
On 11/14/06, Tiziano_mk <[EMAIL PROTECTED]> wrote: Adrian Maier ha scritto: > Hello, > > I am trying to write a program that is embedding the python interpreter > in order to execute python code. I don't need to transfer values between > pascal and python. > y

Re: [fpc-pascal] Executing python code from a pascal program

2006-11-13 Thread Adrian Maier
al name 'PyRun_SimpleString'; I had initially added cdecl _after_ the 'external' clause , but this generated an error ( directive CDECL has conflicts with other directives ) which confused me into thinking that cdecl was not needed. Thanks, Adrian Maier ___

[fpc-pascal] Executing python code from a pascal program

2006-11-13 Thread Adrian Maier
mpleParseStringFlags () from /usr/lib/libpython2.4.so.1.0 #6 0xb7eeb8a1 in PyRun_StringFlags () from /usr/lib/libpython2.4.so.1.0 #7 0xb7eecba3 in PyRun_SimpleStringFlags () from /usr/lib/libpython2.4.so.1.0 #8 0xb7eecc21 in PyRun_SimpleString () from /usr/lib/libpython2.4.so.

Re: [fpc-pascal] Unistalling FPC (and reinstalling from svn)

2006-10-07 Thread Adrian Maier
On 10/6/06, Jochem Berndsen <[EMAIL PROTECTED]> wrote: On Friday 06 October 2006 10:49, Adrian Maier wrote: > I have a silly question : which is the best way to uninstall FPC ? I don't know. > Also, after compiling FPC with 'make build' , if i execute '

[fpc-pascal] Unistalling FPC (and reinstalling from svn)

2006-10-06 Thread Adrian Maier
n ). Also, after compiling FPC with 'make build' , if i execute 'make install' will it copy everyting in /usr/local by default ? Is the destination directory configurable somehow? -- Adrian Maier ___ fpc-

[fpc-pascal] How to debug when accessing database with sqldb

2006-10-05 Thread Adrian Maier
ot recognised at all, and therefore it doesn't show up in the log. Another problem is that deleting rows also doesn't work. I click "delete" on the TdbNavigator, it asks for confirmation, but the row is still there. Cheers, Adrian Maier -- Adrian Maier __

[fpc-pascal] connecting to firebird with sqldb

2006-10-05 Thread Adrian Maier
;unable to complete network request to host localhost". I am able to connect to that database with: isql /tmp/db_faf.fdb Cheers, Adrian Maier ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] TProcess questions

2006-10-04 Thread Adrian Maier
On 10/3/06, Adrian Maier <[EMAIL PROTECTED]> wrote: On 10/3/06, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > On Tue, 3 Oct 2006, Adrian Maier wrote: > > > On 10/3/06, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > Any idea how shoul

Re: [fpc-pascal] TProcess questions

2006-10-03 Thread Adrian Maier
On 10/3/06, Marco van de Voort <[EMAIL PROTECTED]> wrote: > On Tue, 3 Oct 2006, Adrian Maier wrote: > > > > It's a painful one. I was hoping to switch to TProcess instead of shell ( > > which isn't cross-platform ) ... > > The bug won't oc

Re: [fpc-pascal] TProcess questions

2006-10-03 Thread Adrian Maier
On 10/3/06, Adrian Maier <[EMAIL PROTECTED]> wrote: > > Well, first of all you should do a 'IsRunning' (or running) before checking > the exitcode. I'm using the poWaitOnExit option, so my program doesn't waits until the external process ends. All I need

Re: [fpc-pascal] TProcess questions

2006-10-03 Thread Adrian Maier
On 10/3/06, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: I will see about fixing it. Could you please post a bug report so it won't be forgotten. Mantis issue 7534 added . Is it likely for the fix to go into fpc 2.0.4? Or just in the HEAD ? Cheers, A

Re: [fpc-pascal] TProcess questions

2006-10-03 Thread Adrian Maier
On 10/3/06, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: On Tue, 3 Oct 2006, Adrian Maier wrote: > On 10/3/06, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > Any idea how should i quote the arguments so that they would be properly > > > treated by

Re: [fpc-pascal] TProcess questions

2006-10-03 Thread Adrian Maier
but TProcess.ExitCode is 0. Therefore it's impossible to detect > the failure. That can be if the program exited because of a signal. I'm not sure if this was the case - I'll have to investigate. Anyway, is it possible to detect this situation ? Cheers, Adrian Ma

[fpc-pascal] TProcess questions

2006-10-03 Thread Adrian Maier
ight ? I have a situation in which a program 1 , but TProcess.ExitCode is 0. Therefore it's impossible to detect the failure. Cheers, Adrian Maier ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] .NET FAQ

2006-09-29 Thread Adrian Maier
would cover the resources spent ... By the way : why dotnet and not java ? At least java has been around for a longer time, and there are compatible jdk's for more platforms ... So we wouldn't have to deal with differences like those between Mono and the .N

Re: [fpc-pascal] Hardware

2006-08-22 Thread Adrian Maier
windows specific stuff } {$endif} {$ifdef linux} { . linux specific stuff } {$endif} -- Adrian Maier ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] exiting a program more friendly way

2006-06-23 Thread Adrian Maier
riteln('Friendly error message : ',e.message); end; writeln(' End of program. '); end. This way, the program will in fact not crash at all. If anything nasty happens between 'try' and 'except', it will execute the code written in the except clause. T

Re: [fpc-pascal] Re: a suggestion...

2006-05-25 Thread Adrian Maier
bzip2 extractor. Yes, but it requires extra work :) What do you think about having two archives, to make everyone happy : one compressed with gzip ( for those concerned about compatibility) and one compressed with bzip2 (for those concerned about the size

Re: [fpc-pascal] FPC on NetBSD (i386)

2006-04-25 Thread Adrian Maier
On 4/25/06, Jonas Maebe <[EMAIL PROTECTED]> wrote: > > > The quoted code above adds "-FE." to the compiler command line. For > some reason this doesn't seem to work in your Makefile, which results > in the compiled units being put in the directory where their source > is located. Consequently, they

Re: [fpc-pascal] FPC on NetBSD (i386)

2006-04-25 Thread Adrian Maier
On 4/25/06, Jonas Maebe <[EMAIL PROTECTED]> wrote: > > On 25 apr 2006, at 10:17, Adrian Maier wrote: > > >> That is not good. Can you post the output of a "make clean all"? > >> (without this -Fu/data/fpc/2.0.0/release_2_0_0/rtl/unix added to yo

Re: [fpc-pascal] FPC on NetBSD (i386)

2006-04-25 Thread Adrian Maier
ase_2_0_0/rtl/unix > > So, it seems to me that it is not finding automagically all the newly > > compiled units. > > That is not good. Can you post the output of a "make clean all"? > (without this -Fu/data/fpc/2.0.0/release_2_0_0/rtl/unix added to your > config

Re: [fpc-pascal] FPC on NetBSD (i386)

2006-04-23 Thread Adrian Maier
On 4/23/06, Jonas Maebe <[EMAIL PROTECTED]> wrote: > On 22 Apr 2006, at 21:23, Adrian Maier wrote: > > > Yes. the compiler is 1.0.10 > > Does "make info" also show this? Yes, it does. I've included the full output of 'gmake info' at the end o

[fpc-pascal] test - please ignore

2006-04-23 Thread Adrian Maier
test ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] FPC on NetBSD (i386)

2006-04-23 Thread Adrian Maier
cluded in rtl/unix/sysunixh.inc. And sysunixh.inc is included in bsd/system.pp . I'm not sure what can be done to compile the Strings unit ? ( maybe I should somehow tell the compiler to use the newly compiled sysbsd.ppu , and not the system unit that came with fpc 1.0.10 ? ) Cheers, Adrian Maier ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] FPC on NetBSD (i386)

2006-04-21 Thread Adrian Maier
es: $(BSDINC)/bunxtype.inc $(BSDINC)/ctypes.inc $(BSDINC)/bunxmain.inc $(BSDINC)/bunxfunc.inc $(BSDINC)/ossysch.inc $(BSDINC)/bunxmacr.inc I have noticed that in freebsd/Makefile these files are not referred . This is the progress so far. Adrian Maier ___

Re: [fpc-pascal] FPC on NetBSD (i386)

2006-04-21 Thread Adrian Maier
)/bunxmacr.inc I have noticed that in freebsd/Makefile these files are not referred . This is the progress so far. Adrian Maier ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] FPC on NetBSD (i386)

2006-04-18 Thread Adrian Maier
y versions of fpc (step by step from one version to a newer one) . Which is the newset fpc that can be compiled by fpc 1.0.10? (or should i better consider cross compiling it from linux ?) Cheers, Adrian Maier ___ fpc-pascal maillist -

[fpc-pascal] TProcess and EProcess

2006-03-15 Thread Adrian Maier
oStderrToOutPut,poNewConsole,poWaitOnExit]; p.Execute; except on EProcess do ShowMessage('EProcess !'); else ShowMessage('Mysterious exception, other than EProcess ...' ); end; The compiler tells me that it doesn't recognize EProcess. What