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 > TT

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

2009-03-30 Thread Eduardo Morras
At 23:05 30/03/2009, you wrote: I'll chime in, I did a haxe servlet server called hxServlet, it's available on libs.haxe.org. I'm thinking of doing something similar for distinction with a VM in a scripting language, but for something I have to compile anyway i'm not convinced of the wi

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...

[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 servl

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. S

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 one

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 m

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. > The

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

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. :

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 1

[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

[fpc-pascal] Switch from string to ansi/wide

2008-05-05 Thread Eduardo Morras
Hello: I writing an app that works with text. I use strings and define the output file as file of string. All works fine but it's limited to 255 characters. Now i changed to ansistring (every from "string" to "ansistring") and compiles without any problem, but when i open the text file i get

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 o

Re: [fpc-pascal] problem with array of string

2004-12-21 Thread Eduardo Morras
At 22:15 20/12/2004, you wrote: I have problem with two dimension array of string my program: procedure testlinie; var linie : array[0..1,0..100] of shortstring; i,ii : integer; begin fillchar(linie,sizeof(linie),0); for i := 0 to 1 do begin for ii:= 1 to 10 do begin linie[i,ii

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 int

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 usin

Re: [fpc-pascal]FP newbie

2003-11-14 Thread Eduardo Morras
But some Mac user (/me smells a Jonas) will probably correct me :-) Yes, you are true. Apple contracts (is this the correct verb?) N.Wirth in 1982-3 to develop an Object Pascal language/compiler. MacOS was written in pascal and assembler from version 0 to 6.x.; System 7.0 and 7.1 was a mix of

Re: [fpc-pascal]/usr/lib/fpc/1.0.6/ppc386 vs. /usr/bin/fpc vs. fpc.cfg?

2003-06-19 Thread Eduardo Morras
ewhere left on your system from a previous version. I can enable range checking in the source file with {$R+}, is there a similar solution for -gl? No. Just put in the uses clause the unit LineInfo the first one. Las personas se dividen en tres grupos, los que saben contar y los que no.

Re: [fpc-pascal]Runtime error 87

2003-06-16 Thread Eduardo Morras
At 12:00 11/06/2003 +0200, you wrote: The FreePascal User's guide has a list of the possible run time errors. But what if you encounter an error that is not on the list? Right now I would like to know the meaning of run time error 87. (Generated by a win32 program and possibly caused by a lot of ca

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]GetMem crazy problem

2003-06-10 Thread Eduardo Morras
But I don't know why you get RTE 201? (You should be getting 203 > or > 216 or something) > > -Alan > > > --- Eduardo Morras <[EMAIL PROTECTED]> wrote: > > Hello: > > I've got a weird problem with getmem. I have check > > everythin

[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)); GetMem(ppmv,sizeof(rtMotionVector))

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? Such

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 that

[fpc-pascal]Run Time Error codes

2003-01-24 Thread Eduardo Morras
Hello: Does anyone knows what means the next error codes: 998, 313. And where find information about the applications exit code? I'm under win32 platform, fpc 1.0.6 using gdb as debugger TIA Alien.org contacted...waiting