[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] 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 markmll.fpc-pas...@telemetry.co.uk 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 the SPARC Solaris  link

[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

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 sys...@gmail.com 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

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 hjami...@pymesoft.com.ar wrote: You could take a look to AggPas. I'll look , thanks . -- Adrian ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

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

2008-01-24 Thread Adrian Maier
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. What's the URL of the fpc-docs-repository ? -- Adrian Maier ___ fpc-pascal

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'm not familiar yet to working with this lufdoc

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

2007-12-06 Thread Adrian Maier
. 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 explained better. Cheers, Adrian Maier ___ fpc-pascal maillist - fpc-pascal

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

2007-12-04 Thread Adrian Maier
of TSqlConnection 7. Resources - links to the reference pages of the classes used - links to tutorials, wiki pages, etc. -- Adrian Maier ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

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 connectivity for new database vendors . So it's

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

2007-12-03 Thread Adrian Maier
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] can we have fpc's doc in chm format?

2007-12-03 Thread Adrian Maier
down all those procedures and functions throughout the RTL reference manual without proper search and browsing capabilities . Cheers, Adrian Maier ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc

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 with PDF as well. What pdf viewer are you using? I

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' which is the standard PDF viewer with Ubuntu. I can copy any text I want

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, unique structure. Some tutorials

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 : Connecting to a database (with links

[fpc-pascal] Arrays of objects

2007-10-31 Thread Adrian Maier
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 , or resizes its memory ? Cheers, Adrian Maier

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 regular array) , and also i'd like the structure to grow when I

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 way to hold an array of class instances I need to access the elements using its position

Re: [fpc-pascal] Arrays of objects

2007-10-31 Thread Adrian Maier
in memory , leading to loosing the original contents. It does resize if possible, reallocate (and copy the original data as far as it fits) else. Thanks for the info! -- Adrian Maier ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

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

2007-10-22 Thread Adrian Maier
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
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 freepascal. Cheers, Adrian Maier

Re: [fpc-pascal] Reading text from images

2006-12-13 Thread Adrian Maier
be difficult to call the functions from freepascal. If it is C. If it is C++, it is a different story. I know that. But it seems to be C (even though it's not explicitly specified in the software description on their site). http://jocr.sourceforge.net/api/dox/globals.html -- Adrian Maier

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. you welcome! If you are using Lazarus

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

2006-11-13 Thread Adrian Maier
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.1.0 #9 0x08048324 in main () at runpy.pas:16 What am i doing wrong ? Any idea ? Thank you, Adrian Maier

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

2006-11-13 Thread Adrian Maier
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 maillist - fpc-pascal

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 'make install' will it copy everyting

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

2006-10-06 Thread Adrian Maier
, 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-pascal maillist - fpc-pascal

[fpc-pascal] connecting to firebird with sqldb

2006-10-05 Thread Adrian Maier
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

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

2006-10-05 Thread Adrian Maier
, 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

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 should i quote the arguments so that they would be properly

[fpc-pascal] TProcess questions

2006-10-03 Thread Adrian Maier
, 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] TProcess questions

2006-10-03 Thread Adrian Maier
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 Maier ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org

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 TProcess? You can't. The following lines

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, Adrian Maier

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 is to know if the external process ended

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 occur on windows :) I will see about fixing it. Could you please

Re: [fpc-pascal] .NET FAQ

2006-09-29 Thread Adrian Maier
, Adrian Maier ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Hardware

2006-08-23 Thread Adrian Maier
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
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. Then, the program continues normally. Cheers, Adrian Maier ___ fpc-pascal maillist - fpc-pascal

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

2006-04-25 Thread Adrian Maier
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 file) Sure: http://www.newsoftcontrol.ro/~am/gmake_clean_all.txt Adrian Maier

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 your config file) Sure: http://www.newsoftcontrol.ro/~am

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 cannot

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 of the email. Why do you suspect that the compiler version

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

2006-04-21 Thread Adrian Maier
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

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

2006-04-21 Thread Adrian Maier
)/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 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

[fpc-pascal] FPC on NetBSD (i386)

2006-04-18 Thread Adrian Maier
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

[fpc-pascal] TProcess and EProcess

2006-03-15 Thread Adrian Maier
,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 am I doing wrong? Thanks, Adrian Maier