Re: [fpc-pascal] Module or Plugin or similar howto implement?

2010-07-21 Thread Eduardo
On Tue, 20 Jul 2010 10:21:01 + Mark Morgan Lloyd markmll.fpc-pas...@telemetry.co.uk wrote: Reimar Grabowski wrote: On Mon, 19 Jul 2010 17:13:15 +0200 Eduardo emor...@xroff.net wrote: I'm developing an app and need to extend its functionality via external modules or plugins

[fpc-pascal] Module or Plugin or similar howto implement?

2010-07-19 Thread Eduardo
Hello all: I'm developing an app and need to extend its functionality via external modules or plugins. Currently i'm trying to do it using dll/so but don't know if there are better methods to do implement it. TIA L ___ fpc-pascal maillist -

Re: [fpc-pascal] FPC Docs updated

2010-03-08 Thread Eduardo
On Mon, 8 Mar 2010 09:06:13 +0100 (CET) Michael Van Canneyt mich...@freepascal.org wrote: On Mon, 8 Mar 2010, Graeme Geldenhuys wrote: Michael Van Canneyt het geskryf: Reason for the update is the complete documentation of the DB unit: it has been finished, and adds roughly 200 pages

Re: [fpc-pascal] FPC Docs updated

2010-03-08 Thread Eduardo
On Mon, 8 Mar 2010 17:33:13 +0100 (CET) Michael Van Canneyt mich...@freepascal.org wrote: On Mon, 8 Mar 2010, Eduardo wrote: On Mon, 8 Mar 2010 09:06:13 +0100 (CET) Michael Van Canneyt mich...@freepascal.org wrote: . Can you post the file's url? Thanks for the work. I forgot

Re: [fpc-pascal] const records passed incorrectly

2009-11-16 Thread Eduardo Morras
At 04:33 16/11/2009, you wrote: Hi all. I am new to fpc and linux in general, though I do have a long time experience with Delphi. I was writing some code basic system (using the libc library) when I ran across the following problem .. some code: const libc = 'libc.so.6'; type TTimeSpec =

[fpc-pascal] Servlet server for Fpc apps

2009-03-27 Thread Eduardo Morras
Hello: I want to ask (and know) if i can use apache-tomcat to serve servlets developed with freepascal. If not, is there a similar server for fpc? Note that i want/need servlet like in java and other languages, not a propetary format or cgi or anyother. P.S. Yes, i have googled but for

Re: [fpc-pascal] Servlet server for Fpc apps

2009-03-27 Thread Eduardo Morras
At 22:00 27/03/2009, you wrote: Eduardo, the short answer is no, it wouldn't work. Tomcat doesn't understand binary files, it only executes Java classes. Your options are: 1) CGI. 2) Apache Modules. 3) Your own web server. I will opt for the 3rd. then. All in pascal of course and free

Re: [fpc-pascal] very simple text indexing system

2009-01-27 Thread Eduardo Morras
At 07:47 27/01/2009, you wrote: Hi, I would like to implement a very simple text indexing system (full text search) for one of our products. I know there are a few products our there I can use in combination with RDBMS etc... But I would like to keep the 3rdParty components down to a minimum.

Re: [fpc-pascal] Maybe one stupid question

2009-01-23 Thread Eduardo Morras
At 01:10 23/01/2009, you wrote: Hello FPC-Pascal, I'm using FPC 2.2.2 running over WinXP SP2. Are there any technical reasons that expains that a program runs faster using all checks ( I/O, Range, Overflow, Stack and Verify calls ) with optimization level 1 and using heaptrace, than the same

Re: [fpc-pascal] helpsystem, some numbers

2008-10-28 Thread Eduardo Morras
At 07:01 28/10/2008, you wrote: On Mon, Oct 27, 2008 at 8:40 PM, Eduardo Morras [EMAIL PROTECTED] wrote: Don't know what's your question (perhaps you posted on wrong list) but chm uses LZX compression algorithm internally. I was about to mention that as well. :-) I have always had the idea

Re: [fpc-pascal] helpsystem, some numbers

2008-10-28 Thread Eduardo Morras
At 11:38 28/10/2008, you wrote: On Tue, Oct 28, 2008 at 12:12 PM, Eduardo Morras [EMAIL PROTECTED] wrote: In fact deflate/zip is 18-19 years old and there are lot of better compression algorithm, like LZX. I think there is one implemented in Pascal (ABC if memory don't fails). I'm still

Re: [fpc-pascal] helpsystem, some numbers

2008-10-28 Thread Eduardo Morras
At 16:00 28/10/2008, you wrote: On Tue, Oct 28, 2008 at 4:26 PM, Eduardo Morras [EMAIL PROTECTED] wrote: Well, there are some ones. There is the PAQ family that are the best now. Of course they are research compressors mostly written in C++ but they exist. There is a freepascal/lazarus app

Re: [fpc-pascal] fpimage glow effect

2008-10-28 Thread Eduardo Morras
At 17:37 28/10/2008, you wrote: How can I create a glow effect around text with fpimage? DOn't know, you can check teh Vampyre project at http://imaginglib.sourceforge.net It's a image library for FreePascal/Lazarus written in ObjectPascal. Mattias HTH No virus found in this outgoing

Re: [fpc-pascal] helpsystem, some numbers

2008-10-27 Thread Eduardo Morras
At 15:19 27/10/2008, you wrote: This morning I did a bit research after the help files, I hope it sheds some light on the WHY for the recent CHM efforts: html html help packagesize on disk(k) real size(k) chm(k) rtl38816 22096

[fpc-pascal] Install in FreeBSD7 amd64

2008-06-08 Thread Eduardo Morras
Hello: I have upgraded my computer from x86 32 bits Freebsd 6.2 to a new amd64 with FreeBsd 7.0 64 bits (both, os and processor to 64 bits). When i try to install fpc i get an error saying that it can't be installed in 64 bits. Is this a known issue? Is there a 64 bits fpc? TIA

Re: [fpc-pascal] transparent windows on X11

2008-03-17 Thread Eduardo Morras
At 15:17 17/03/2008, you wrote: Hi, Anybody know how to use Xlib API to create transparent windows? This is for use with fpGUI Toolkit. For example. I have a Label component (which is actually a mini window) and have to always specify and paint a background color. If I don't, I see all kinds

Re: [fpc-pascal] NULL pointer to array of integer

2006-09-13 Thread Eduardo
At 10:04 13/09/2006, you wrote: Hi, while fiddling with some C'isms I've stumbled over a function in a library expecting an array of integers *or* a NULL pointer. How can I hand over any NIL or 0 or something equal to NULL in C that is accepted by fpc? Using NIL or 0 does not work

Re: [fpc-pascal] NULL pointer to array of integer

2006-09-13 Thread Eduardo
At 18:37 13/09/2006, you wrote: On 13 Sep 2006, at 14:00, Eduardo wrote: I remember that on c a null pointer has value 0, but in ansi pascal it has value 23. The value of nil is not defined in the ISO Ansi Pascal standard. In FPC, nil = pointer(0) on all currently supported platforms

[fpc-pascal] Caching a big file on memory

2006-09-11 Thread Eduardo
Hello: I have a little problem, i participe in the 'Large Compression Benchmark' (http://cs.fit.edu/~mmahoney/compression/text.html) and need to cache the whole enwik8 file (100MB) on memory but when i try to allocate space for it i get a compiler error, saying that maximum is 64MB

Re: [fpc-pascal] Caching a big file on memory

2006-09-11 Thread Eduardo
At 18:30 11/09/2006, Jonas wrote: On 11 Sep 2006, at 18:09, Eduardo wrote: I have a little problem, i participe in the 'Large Compression Benchmark' (http://cs.fit.edu/~mmahoney/compression/text.html) and need to cache the whole enwik8 file (100MB) on memory but when i try

Re: [fpc-pascal] Caching a big file on memory

2006-09-11 Thread Eduardo
At 19:54 11/09/2006, you wrote: I don't tested this with large files, but why don't you use TMemoryStream: var myFile: TMemoryStream; begin myFile := TMemoryStream.Create; myFile.LoadFromFile('c:\myfile'); ... end; Not need OOP for do it, i need as much speed as i can and using a

[fpc-pascal] problems with colors

2006-08-22 Thread Eduardo Jaime Quiros Batres
PENTIUM4 Supported FPU instruction sets: SOFT X87 SSE SSE2 This program comes under the GNU General Public Licence For more information read COPYING.FPC Report bugs,suggestions etc to: [EMAIL PROTECTED] -- Eduardo Jaime Quirós Batres ([EMAIL PROTECTED

Re: =?koi8-r?Q?Re[2]=3A_[fpc-pascal]_Offline_documentation_for_Extra_Packag es?=

2006-08-02 Thread Eduardo
At 15:39 02/08/2006, you wrote: These are Pascal interfaces to C packages. In general there is no Pascal documentation available. However, since they are straight translations the C documentation should apply almost literally to the Pascal versions. Jonas Is there a note/memo about types

Re: [fpc-pascal] Comparing version numbers

2006-06-02 Thread Eduardo
At 23:03 02/06/2006, you wrote: I have tried about a dozen different algorithms now, and I admit to being stumped because everyone I've tried fails SOMEWHERE. The task before me is to compare version numbers of software packages and determine which is higher. First try was to simply do a string

Re: [fpc-pascal] Comparing version numbers

2006-06-02 Thread Eduardo
At 01:41 03/06/2006, you wrote: Simple, just a variation of your first try. Use ASCII comparation, but all parts must have the same digits, in your case, you padd the 3rd part (or any part) with any letter down the ascii code of 0, for example ' ' (a space) This was a brilliant idea as far

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

2006-06-01 Thread Eduardo
I tried to benchmark a little. Archivers were limited to 512 Mb. Timings only in the second test. Precision is kept 1 Mb/10 seconds intentionally. There are many comprehensive benchmarks, but I tested nearly the last versions. OpenOffice 2.0.2 sources, 1209 Mb (there are several .gz and

Re: [fpc-pascal] CASE

2005-11-08 Thread Eduardo
At 04:42 08/11/2005, you wrote: May be having case statement problem. App has case statement with 146 sequential labels. They are in order, from a defined type. The assembler output is scanning each label, where it seems a jump would be more efficient. I don't understand well what you have:

Re: [fpc-pascal] CASE

2005-11-08 Thread Eduardo
May be having case statement problem. App has case statement with 146 sequential labels. They are in order, from a defined type. The assembler output is scanning each label, where it seems a jump would be more efficient. This :) case L3o3.FormType of 1 : begin somecode1 end 2 : begin

Re: [fpc-pascal] Re: KeyPressed

2005-08-22 Thread Eduardo
At 21:45 22/08/2005, you wrote: On Mon, 22 Aug 2005, Lowell C. Savage wrote: Some, perhapsI ran into this problem when I was still compiling the program as a pure Pascal program. (I had the interfaces to other languages commented out.) I'm using: CRT, IO, DOS, Video, Printer,

Re: [fpc-pascal] selecting target processor

2005-06-20 Thread Eduardo
At 15:36 20/06/2005, you wrote: On 20 jun 2005, at 09:59, Marc Santhoff wrote: So it should work: I'm using -dRELEASE for releasing and my fpg.cfg has standard - OG2p3 and -Xs. Testing is done with -XX -B. Yes, it should. Can you figure out which instruction it is that causes this? How

[fpc-pascal] Question with 2 different querys with Firebird

2004-10-15 Thread Eduardo Lopez
table2'; The question is: What I am missing (or ignoring) to reset the query? Actually to solve my problem I'm creating another query (Query2 :=TIBQuery.Create(nil)) and using it, but I must create a query for each diferent access to the DB? Thanks in advance. Eduardo

Re: [fpc-pascal]Graphics cards, VGALIB

2004-09-06 Thread Eduardo Morras
At 11:19 06/09/2004, you wrote: On 6 sep 2004, at 09:28, Marco van de Voort wrote: Especially in case the linker supports multiple namespaces and one package needs symbol X from library A, and another one from library B. There is always some directed graph in dependancies that can be translated

Re: [fpc-pascal]Two simple dynamic arrays questions

2004-07-28 Thread Eduardo Morras
At 19:48 28/07/2004, you wrote: (2) There is no way, I supposed, to switch the array indexes to start at 1 is there? I ask not from intrasigence but because I am using matricies and it rains on my elegance parade to have to perform the trivial translation each time I want to access an element

Re: [fpc-pascal]Re: [fpc-pascal]Re: [fpc-pascal]Can't find lmysqlclient What I'm missing? SOLVED!!

2004-06-08 Thread Eduardo Lopez
, when I do it, then I update then fpc.cfg to include then /usr/lib/mysql and ... voilá... all working. :-) Thank you for your patience... Eduardo. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal]Re: [fpc-pascal]�at I'm missing?

2004-06-07 Thread Eduardo Lopez
Michael Van Canneyt escribi: On Mon, 7 Jun 2004, Eduardo Lopez wrote: Hello all: I'm just trying to compile the testdb.pp and I get the following error: ln -s libmysqlclient.so.10.0.0 lmysqlclient This should be: ln -s libmysqlclient.so.10.0.0 lmysqlclient.so Michael. Thank you very

Re: [fpc-pascal]Re: [fpc-pascal]Re: [fpc-pascal]Can't find lmysqlclient What I'm missing?

2004-06-07 Thread Eduardo Lopez
libmysqlclient.so mysqlclient mysqlclient.so but don't work. I'm trying now on a Fedora Core 1 and I get the same error. In my home directory a have a folder named test and inside it the testdb.pp I think that I'm doing something stupid... But I can't realize what :-) Thanks. Eduardo

[fpc-pascal]Libglade and fpc

2004-02-13 Thread Eduardo Lopez
Helllo all: I'm just starting to extend some examples about fpc, Gtk, MySql and Firebird. Like the samples I'm writing all the code to create the windows and widgets. It's possible to implement Libglade in fpc? Anyone has do it? Thanks in advance. Eduardo Lopez

Re: [fpc-pascal]Newbie question: fpc + gtk + clist SOLVED!!

2003-12-19 Thread Eduardo Lopez
the correspnding row selected -using my variable- and fill the entry widgets... Regards... Eduardo Eduardo Lopez wrote: Hello all: 1st. Sorry about my english :-) I'm trying to develop an GUI application with fpc and gtk. And I begin exploring and extending the examples. I'm working with clist.pp

[fpc-pascal]GetMem crazy problem

2003-06-10 Thread Eduardo Morras
Hello: I've got a weird problem with getmem. I have check everything (i think) but i can't get it work. Heaptrc says it's all ok, but when i de-comment the next three lines ( the freemem also ), all fails GetMem(sDicc,sizeof(rtBusqBidimen));

Re: [fpc-pascal]GetMem crazy problem

2003-06-10 Thread Eduardo Morras
i use them badly, but the main problem for me was the not allocation of memory for them. Also i use fpc 1.08 Thanks --- Alan Mead [EMAIL PROTECTED] wrote: Eduardo, I did not follow your example, but are you aware of the growing heap behavior of FreePascal and the ReturnNilGrowHeapFails

Re: [fpc-pascal]GetMem crazy problem

2003-06-10 Thread Eduardo Morras
At 14:22 10/06/2003 -0700, you wrote: Is 1.0.8 available? I just checked www.freepascal.org and it seems like 1.06 is the current release. You might try that version and see if the problem goes away. -Alan 1.07 and 1.08 are updates to 1.06. You must download them and install by hand. In a few

Re: [fpc-pascal]Run Time Error codes

2003-01-29 Thread Eduardo Morras
At 19:56 28/01/2003 +0100, you wrote: On zaterdag, jan 25, 2003, at 02:34 Europe/Brussels, Eduardo Morras wrote: Does anyone knows what means the next error codes: 998, 313. And where find information about the applications exit code? Such strange error codes are error codes

Re: [fpc-pascal]Run Time Error codes

2003-01-29 Thread Eduardo Morras
At 17:51 29/01/2003 +0100, you wrote: At 19:56 28/01/2003 +0100, you wrote: On zaterdag, jan 25, 2003, at 02:34 Europe/Brussels, Eduardo Morras wrote: Does anyone knows what means the next error codes: 998, 313. And where find information about the applications exit code