Re: [fpc-pascal]Error compiling testdb.pp example (mysql)

2003-06-14 Thread Michael . VanCanneyt
hich you need :-) Seems that you have mysql version 4 installed. The units we distribute standard work with MySQL 3.23. There are units for mysql version 4 as well, but you must compile and install them separately. Get the sources of the packages , and look in packages/base/mysql/mysql4 I warn against using mysql with FPC. Their API changes quite often in incompatible ways, which can be masked with C macros but which cannot be masked with Pascal functions. Try and use firebird instead is my usual advice. Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]Error compiling testdb.pp example (mysql)

2003-06-15 Thread Michael . VanCanneyt
h you need :-) > > > > Seems that you have mysql version 4 installed. > > The units we distribute standard work with MySQL 3.23. > > > > There are units for mysql version 4 as well, but you must compile and > > install them separately. Get the sources of the packages , and look in > > packages/base/mysql/mysql4 > > > > I warn against using mysql with FPC. Their API changes quite often in > > incompatible ways, which can be masked with C macros but which cannot > > be masked with Pascal functions. > > > > Try and use firebird instead is my usual advice. > > What about sqlite ? Has anyone gotten that to work in any application > they've developed. I don't know of any report. But if you want to give it a try, I just converted the C headers for it, I can send them to you. Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal](Auto) XML Record Loader & RTTI Info

2003-06-18 Thread Michael . VanCanneyt
ecord-Type > CreateXML(record-Type) > end > end > > => > > > Value > > > Value > Value > > > Value > Value > > > Value &g

Re: [fpc-pascal]New to the list/question

2003-07-09 Thread Michael . VanCanneyt
old text based user interface. There are 3 or 4 ways : - Use the video/keyboard/mouse units (documented) - Use FVision. (undocumented, Turbo Vision Clone) - Use ncurses (Straight C header translation) - Use ncrt/ocrt crt clone, based on ncurses. ocrt is an object-orien

[fpc-pascal]FPC version 1.0.10 is out.

2003-07-12 Thread Michael . VanCanneyt
is worked on. - SPARC port is basically done (hello world runs) - ARM port will be started soon hopefully (Linux/Zaurus as initial target) And hopefully still many other exciting things... Enjoy the new release ! Michael. ___ fpc-pascal maillist

[fpc-pascal]GraphiX 4 ready for FPC 1.0.10

2003-07-12 Thread Michael Knapp
Yes, GraphiX is still existing, but stayed unchanged for the last years. It is not maintained anymore, except testing with new FPC versions. Download it from (Size: 1,2 MB) from http://stud3.tuwien.ac.at/~e9826443/software/graphix/gxfp4.zip It contains: graphix, directx and freetype. Michael PS

Re: Internal error 8888 (was Re: [fpc-pascal]Strange Segfault...)

2003-07-14 Thread Michael . VanCanneyt
ing wrong. {$H+} or {$H-} definitely works. > > If I declare "stmp: ansiString;" then the executable compiles and > links fine but the strings don't actually work. For example, I > "readln(txt,stmp);" and stmp only receives the first 255 columns of > the file

Re: [fpc-pascal]Problem linking TESTIB.PP

2003-07-19 Thread Michael . VanCanneyt
Remove the {$linklib dl} from the source code, or put it between {$ifndef win32} {$endif} it is only needed on Linux. Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]Problem linking TESTIB.PP

2003-07-19 Thread Michael . VanCanneyt
only needed on Linux. > > If it will be fixed in CVS: > > It's not needed in *BSD either, so please make it really Linux only. Done. Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]Using FPC

2003-07-20 Thread Michael . VanCanneyt
ME. There is a text-mode IDE with integrated debugging. It is called 'fp' Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]How to use Linux libraries?

2003-07-26 Thread Michael . VanCanneyt
ollowing: TA = Object ... end; and then TB = Class(TA) ... end; i.e. you cannot mix class/object descendents. But you can use them together in 1 program, without problem. Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]Direct writes to console buffer

2003-08-03 Thread Michael . VanCanneyt
can implement WhereX / WhereY > to return the values of Video.CursorX / CursorY etc. Functions dealing > with keyboard (ReadKey and KeyPressed) may be implemented using the > Keyboard unit. The idea is that in future the CRT unit will be 100% based on the video and keyboard units. The

Re: [fpc-pascal]what Programming Environment : Editor & Debugger

2003-08-08 Thread Michael . VanCanneyt
On Thu, 7 Aug 2003, Frank W McCormick wrote: > On Thu, 7 Aug 2003 16:44:19 +0200 (W. Europe Daylight Time) > Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > lazarus > > > > That's OK but you need the Lazarus flavour of FPC. Is there no > alternati

Re: [fpc-pascal]Documentation about FCL

2003-08-14 Thread Michael . VanCanneyt
ption > of what each class is for, and a colour map for the Object chart (what > is green, yellow, gray,...). Docs are available online from http://www.freepascal.org/docs-html/fcl/ and http://www.freepascal.org/docs-html/classchart.ps contains a (incomplete)

Re: [fpc-pascal]A couple of easy questions on clsses

2003-08-14 Thread Michael . VanCanneyt
entences refer to the case in which > you do it wrong, and declare both MyProc as virtual (instead as > "virtual" and "override", respectively). > So should I understand that I can use Inherited without problems if I do > it right? (means virtual/

Re: [fpc-pascal]Runtime Error Source References

2003-08-23 Thread Michael . VanCanneyt
nality as in the TP editor is available. I think Lazarus also provides this, but I am not sure. Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]Two Questions

2003-08-24 Thread Michael . VanCanneyt
e difference with seekeof() and eof() functions? Same as 1, only for end of file instead of end of line. This is described in the documentation. Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]More strangeness...

2003-08-29 Thread Michael . VanCanneyt
st compile out of the unit last night (it bombs out > at line 255 of Base.inc, in the "enumeratons" section) and there's no point > swimming through all that code until I do. > > If anyone knows the correct setup for re-compiling the windows and m

Re: [fpc-pascal]More strangeness...

2003-08-30 Thread Michael . VanCanneyt
hange the HWND type from longint to DWORD or Cardinal (which is the same) in the windows unit ? If so, does it help ? Did you turn off range checking ? If so, what is the effect ? At work I run NT 4, at home Windows 2000. I repeat my offer: If yo

[fpc-pascal]IPC Question

2003-09-03 Thread Michael Weinert
procedure to open an ipc-queue. Thanks in advance for your help. Michael. -- SysQuadrat Michael Weinert Stuttgart Filderstadt-Plattenhardt Tel.: 0711-9970288 Fax: 5360559 Mobil: 0170-4141273 http://www.linux-fire

Re: [fpc-pascal]CGI: cgiapp.pp and ezcgi.pp possible bug

2003-09-12 Thread Michael . VanCanneyt
oth ezcgi.pp and cgiapp.pp > > If you try and post a piece of form data: > ie: > > > > > > > it will hang in an infinite loop. Not here. The testapplication also uses a textarea, and it works fine. Michael. ___ fpc-pascal ma

Re: [fpc-pascal]CGI: cgiapp.pp and ezcgi.pp possible bug

2003-09-13 Thread Michael . VanCanneyt
ce of form data: > > > ie: > > > > > > > > > > > > > > > > > it will hang in an infinite loop. > > > > Not here. The testapplication also uses a textarea, and it works fine. > > No what I mean is if you POST data to the

Re: [fpc-pascal]CGI: cgiapp.pp and ezcgi.pp possible bug

2003-09-14 Thread Michael . VanCanneyt
the data, it > > might be helpful to know whether it affects both cases. Have you > > solved the issue or do you have a small example program? > > This bug is preventing me from completing a clone of my profressors > forum :P I will (when I fin

Re: [fpc-pascal]CGI: cgiapp.pp and ezcgi.pp possible bug

2003-09-14 Thread Michael . VanCanneyt
I will (when I find the time) try and implement an example to > > > show you. > > > > I changed the form method to POST and retried, but it still works here. > > Are you sure the bug is not in your code ? > Positive :) It's based on an example in the FCL. > Would you like to take a look at it ? I'll gladly mail you the source, > it uses sqlite for it's embedded database. You can. Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]CGI and inet Units

2003-09-16 Thread Michael . VanCanneyt
where??? They are in the packages and should be distributed along the rest with FPC, I think ? At least the sources contain them. Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]INET-Unit: Testing existence of a domain?

2003-09-17 Thread Michael Weinert
to make a getnsaddr and you have a result. Are you trying to program a spam-blocker or something like that? If yes, I would be interested in helping. Michael. - -- SysQuadrat Michael Weinert Stuttgart Filderstadt-Plattenhardt Tel.: 0711-9970288 Fax: 5360559 Mobil: 017

Re: [fpc-pascal]INET-Unit: Testing existence of a domain?

2003-09-17 Thread Michael Weinert
noch nicht so recht funktioniert. Folgendes war geplant: Empfang auf Port 25 und gleichzeitig öffnen des Mailservers auf Port X. Sobald ein Hit stattfindet auflegen beider Verbindungen, bzw. Fehlermeldung 5/4XX an den Client. Gruß Michael. - -- SysQuadrat Micha

Re: [fpc-pascal]INET-Unit: Testing existence of a domain?

2003-09-17 Thread Michael Weinert
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Mittwoch, 17. September 2003 13:10 schrieb Rainer Hantsch: Sorry, I put in a mail in german, didn't check the receipient. So everybody got the resolv-unit ;-) Michael. - -- SysQuadrat Michael Weinert Stut

Re: [fpc-pascal]/usr/bin/ld: cannot find -lgd errorr

2003-09-29 Thread Michael . VanCanneyt
alled on your system ? > It would probably be a good idea to expand the FAQ entry > regarding 'cannot find vga' into one that covers this > particular situation or put said info in a README in the > examples directory. The error can have several causes. Michael. ___

Re: [fpc-pascal]TCP client required... List still active??

2003-10-05 Thread Michael Weinert
upon them ie modifying other values or performing action > via USB(ignore the USB aspect for the purpose of discussion.) > Even just some pointers on chnaging the server code into a client. fpc comes with a package inet. Just look for the sample code pfinger and

Re: [fpc-pascal]GTK: multiline label

2003-10-09 Thread Michael Weinert
ave to replace the "\n" ? This might help: lbl := gtk_label_new('Line1 '+chr(10)+chr(13)+'Line2'); If it doesn't work this way try to define the string first. I would define such strings in a constant way anyway. Michael. - -- SysQuadrat

Re: [fpc-pascal]disable background bitmap in IDE?

2003-10-12 Thread Michael . VanCanneyt
ribed in the documentation. Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal]Bug ??? Table

2003-11-18 Thread Michael Weinert
o did try to initialise the table first, but still no help. I also changed the size and order of variables. Thanx, Michael. - -- SysQuadrat Michael Weinert Stuttgart Filderstadt-Plattenhardt Tel.: 0711-9970288 Fax: 5360559 Mobil: 0170-4141273 http://www.linux-firewa

Re: [fpc-pascal]Bug ??? Table

2003-11-18 Thread Michael Weinert
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Dienstag, 18. November 2003 20:40 schrieb Michael Weinert: Hi All, > I'm parsing a dns-hosts-file and after adding round 40 Hosts the > table gets overwritte with garbage. Problem solved, I overwrote another table :-/ sorry for

Re: [fpc-pascal]IDE

2003-11-23 Thread Michael . VanCanneyt
Win32, all work on Linux. The IDE is currently not stable on Win32. Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal][OT] Contributed units

2003-11-30 Thread Michael . VanCanneyt
y evolved to make that a real breeze. But as usual, time is the big enemy. Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]how to add a package to fpc release

2003-12-26 Thread Michael . VanCanneyt
ering if anyone could tell me what the protocols are > for adding such a package to FPC if it is deemed acceptable. The best thing to do is to add it to the contributed units section of the FPC web site. It will be by far the best option. Michael. __

Re: [fpc-pascal]id3 tagging in mp3 / vorbis

2003-12-29 Thread Michael . VanCanneyt
n:ss',DurationTime)); finally Free; end; end. This is all I can do, hopefully it is enough to get you started... Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]CRT prevents break?

2004-01-03 Thread Michael . VanCanneyt
On Fri, 2 Jan 2004, Alan Mead wrote: > > --- Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > This is a 'known issue'. It's normal behaviour. AFAIK, CTRL-C and > > CTRL-Z > > are normally handled by the shell. The CRT unit takes o

Re: [fpc-pascal]CRT prevents break?

2004-01-03 Thread Michael . VanCanneyt
ssible). > > I would have to insert this check inside a loop doing the real work. > Well, I guess I could make a non-blocking ReadKey using KeyPressed. That is why it is there :-) Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]homepage

2004-01-10 Thread Michael . VanCanneyt
On Sat, 10 Jan 2004, domin wrote: > Hello. Could anyone add link to FCL documentation on the homepage? > It's lack is quite confusing. Done. Added also fpdoc tool documentation and reference chart. Michael. ___ fpc-pascal maillist

Re: [fpc-pascal]Runtime Error 216 (oCrt).

2004-01-12 Thread Michael . VanCanneyt
ignment code for the win_st struct. - The win_st struct of ncurses has changed in newer versions of ncurses, and the ncurses unit doesn't have the right definition. My guess is that it is the latter. Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]uclibc in freepascal

2004-01-19 Thread Michael . VanCanneyt
uses gethostent() etc, which is not a kernel call. To remove the dependency on Libc, use the netdb unit. It has the same functionality as inet, but you don't depend on the C library at all: It is written in pascal. Unless you use libc somewh

Re: [fpc-pascal]RE: using sessions and cookies with Free Pascal

2004-02-08 Thread Michael . VanCanneyt
I uploaded it to my personal homepage: > > http://houston.quik.com/jkp/cookies.zip > > > Please note that I did NOT write this unit, and I have NOT tested it. > > But it looks like it *might* be a starting place... Thanks, I will try to update the existing CGI

Re: [fpc-pascal]trouble with fp.exe

2004-02-08 Thread Michael . VanCanneyt
ct. Did the behaviour change after you upgraded or something like that? crt.dll is a windows library, which is outside our control... Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]TObjectList.free

2004-02-14 Thread Michael . VanCanneyt
I have a fix in place, but can't currently test as someone else's work in the RTL currently stops me from compiling the Classes/Contnrs units. As soon as the fix is committed, I'll notify the mailing list. Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]TObjectList.free

2004-02-15 Thread Michael . VanCanneyt
ut how, I will change the FPC implementation so this doesn't happen unless really needed. Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]TObjectList.free

2004-02-15 Thread Michael . VanCanneyt
on: Is this normal behaviour? If so, when > precisely is the list elements going to be freed then? Must it always be > freed manually? > > I guess this is a problem I have with a couple of things in the FCL/VCL, > so an answer to this will be greatly appreciated

Re: [fpc-pascal]fpcmake

2004-02-24 Thread Michael . VanCanneyt
the dirs first Make trys to > compile the current dir first. Just enter a rule in the Makefile.fpc: [Rules] myunit.ppu: myunit.pp dirname_all That should do it. Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]blockread in a procedure

2004-02-29 Thread Michael . VanCanneyt
iler, or one of the compiler flags ? > > > Incidentally, fpc 1.0.10 rpm failed to install on redhat. I struggled with it for a > good hour. Any tips? Does the gz work better than the rpm? What error do you get ? What version of rpm do you use ? If the .rpm fails, the .gz should always install. Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]blockread in a procedure

2004-02-29 Thread Michael . VanCanneyt
ure, I.e. define it as a global var, it works fine. Assuming you don't want to use a global variable (bad programming practice), you can also try the following, which works fine as well: (ansistrings are allocated on the heap, bypassing the stack); Michael. program testb; const t

Re: [fpc-pascal]blockread in a procedure (last try!)

2004-02-29 Thread Michael . VanCanneyt
x27;'; > repeat > blockread (source_file, buf, bufsize, count_read); With a blocksize of 128, this will try to read 128*2028 (256K) bytes. My guess is that the OS decides this is outside the valid stack range, and bails out. Chaning the blocksize to 1 in your original procedure m

Re: [fpc-pascal]Can't seem to cycle a new compiler

2004-03-02 Thread Michael . VanCanneyt
On Tue, 2 Mar 2004, Michael A. Hess wrote: > Greetings, > > I have been trying to cycle a new Win32 compiler so that I can make a > complete Lazarus distro which includes the compiler. > > I have the 1.9.2 binary release and am trying to cycle a new compiler > from

Re: [fpc-pascal]Can't seem to cycle a new compiler

2004-03-02 Thread Michael . VanCanneyt
On Tue, 2 Mar 2004, Michael A. Hess wrote: > [EMAIL PROTECTED] wrote: > > > > These are known problems. > > You must start with a 1.0.10 compiler when you create a new 1.9.X compiler. > > Some older (even quite recent) 1.9.x versions won't work. > > H

Re: [fpc-pascal]Can't seem to cycle a new compiler

2004-03-02 Thread Michael . VanCanneyt
ory to which i fetched the fpc cvs sources > This Makefile (/fpc/fcl/image/Makefile) is only for linux. It needs to be > generated again (by fpcmake), but then for all supported platforms. My mistake. Fixed. Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]Can't seem to cycle a new compiler

2004-03-02 Thread Michael . VanCanneyt
ga.SaveHeader And again fixed... This is becoming a déjà vu :-) Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]Using Tprocess to write to child process standard input.

2004-03-09 Thread Michael . VanCanneyt
On Tue, 9 Mar 2004, Vincent Snijders wrote: > Michael, > > Thanks for your comments. > > On Tue, 9 Mar 2004 15:32:01 +0100 (W. Europe Standard Time) > Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > > > > On Tue, 9 Mar 2004, Vincent Sn

Re: [fpc-pascal]sendkeys with gtk binding

2004-03-14 Thread Michael . VanCanneyt
that you should look at the GTK level, but at the GDK level. Or even the X level. Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]little questions and notes: 1.9.2, bugs db, cfg, win32 make cycle

2004-03-19 Thread Michael . VanCanneyt
e asw.exe to as.exe and ldw.exe to ld.exe... > > It failed on the comparison of ppc3 and ppc386 (char 1316627, line 4963) ... > I'll get back with more info if I can't get it working myself. It should work if you start with the 1.0.10 compiler. Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]Socket() call broken in 1.9.3 CVS?

2004-03-20 Thread Michael . VanCanneyt
( integer): 4 Before socket call. After socket call. home: >ppc386 -S2 -l tests.pp Free Pascal Compiler version 1.9.3 [2004/02/15] for i386 Copyright (c) 1993-2004 by Florian Klaempfl Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]Creating database with SQLiteDataset

2004-03-23 Thread Michael . VanCanneyt
On Tue, 23 Mar 2004, Milos Pejovic wrote: > Michael Van Canneyt wrote: > > >On Mon, 22 Mar 2004, Milos Pejovic wrote: > > > > > > > >>Hi all, > >> > >>I was trying to adapt TDbf table creation demo to SQLiteDataset, but I > &

Re: [fpc-pascal]using big files with high performance

2004-03-25 Thread Michael . VanCanneyt
is > for me?). > > I'am using Linux and FreeBSD. Never programmed software for big files with > locking before. Berkely DB (or GNU DB) will take care of this for you. I'm not sure about performance using big files, but I'm assuming this will not really be a problem.

Re: [fpc-pascal]cvs lock?

2004-05-01 Thread Michael . VanCanneyt
lock in repository > `/FPC/CVS/fpc/packages/extra/palmunits' > cvs [server aborted]: read lock failed - giving up This is fixed automatically every night around 01:00 GMT+1 Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://list

Re: [fpc-pascal]cvs lock?

2004-05-02 Thread Michael . VanCanneyt
disk. Would you like it to be more often ? > > And the next one: > > /usr/bin/ppc386 -di386 -dGDB -dBROWSERLOG -Fux86 -Xs -OG2p3 -n -Fui386 > -Fusystems -Fu/usr/src/redhat/BUILD/fpc-1.9.3/rtl/linux -Fii386 -FE. > -dRELEASE pp.pas > widestr.pas(52,24) Error: I

Re: [fpc-pascal]How to change a users password on Linux

2004-05-21 Thread Michael . VanCanneyt
dependant way ? libc unit. putpwent() and friends. in the FPC sources, see packages/base/libc/pwdh.inc for all functions. Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]Linux - Graph unit?

2004-06-02 Thread Michael . VanCanneyt
package. Alternatively, install a symbolic link to it: cd /usr/lib ln -s libvga.so.x.y.z libvga.so replace x.y.z with the actual version number. Michael. > > Thanks, again. > > Jeff > > ps. BTW, we're eventually converting a DOS-based Turbo Pascal program. > This program i

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

2004-06-07 Thread Michael . VanCanneyt
On Mon, 7 Jun 2004, Anton Tichawa wrote: > Michael Van Canneyt wrote: > > >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:

Re: [fpc-pascal]TDBF makes assumption that breaks win32 compat

2004-06-26 Thread Michael . VanCanneyt
WIN32} > > var > > TempName: UTSName; > > {$endif} > > +{$endif} > > begin > > {$ifdef WIN32} > > FUserNameLen := MAX_COMPUTERNAME_LENGTH+1; > > - > > > > Micha > Can this patch be applied in FPC CVS too? Applied. Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]TDBF makes assumption that breaks win32 compat

2004-06-27 Thread Michael . VanCanneyt
On Sun, 27 Jun 2004, Vincent Snijders wrote: > On Sun, 27 Jun 2004 00:57:28 +0200 (CEST) > [EMAIL PROTECTED] wrote: > > > > Applied. > > > > Michael. > Thanks. > > If the following patch is applied, make install works on win32. ATM, Dbf_Wtil is not

Re: [fpc-pascal]Linked List/ pointers/ casting/ OOP Question

2004-07-09 Thread Michael . VanCanneyt
et^.next <> nil) do > begin > PCurWidget^.widget:=PWidget(PCurWidget^.widget); // cast the pointer > to a widget pointer > if (PCurWidget^.widget^.meta = 'ENTITY') then // this is line 80 At first glance, this should read PwidgetSo

Re: [fpc-pascal]Yet another problem concerning Qualifiers

2004-07-10 Thread Michael . VanCanneyt
hey are part of an > object. This is correct. One should never repeat the unit name in a declaration of an identifier. Delphi also chokes on the original code, albeit with a different error: Copyright (c) 1983,2002 Borland Software Corporation test.pp(5) Error: Identifier redeclared: 'test

Re: [fpc-pascal]Linked List/ pointers/ casting/ OOP Question

2004-07-10 Thread Michael . VanCanneyt
can be done much simpler, without the meta field. when traversing the widget list you can simply do ... If Widget is TEntityWidget then TEntityWidget(Widget).Render // Or whatever. The point is the typecast. else if Widget is TContainerWidget then TContainerWidger(Widget).DoSomething; // Here also, typecast. ... Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]Math/Algebra Unit for FreePascal

2004-07-20 Thread Michael . VanCanneyt
algorithms :/ Do you want symbolical or numerical algorithms ? Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]Math/Algebra Unit for FreePascal

2004-07-21 Thread Michael . VanCanneyt
The FPC units are under LGPL so they don't require that you make your projects open source. In each case: in my search for numerical routines, I found many links to units and suites. Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]UDF + FreePascal + Firebird 1.5

2004-07-24 Thread Michael . VanCanneyt
gt; > > This is the mistake you made: DECLARE EXTERNAL FUNCTION INTMAX INTEGER, INTEGER RETURNS INTEGER BY VALUE ENTRY_POINT 'intmax' MODULE_NAME 'libteste'; You must explicitly add the 'lib'; firebird does not add it itself. Look at the standard libraries, they also

Re: [fpc-pascal]UDF + FreePascal + Firebird 1.5

2004-07-24 Thread Michael . VanCanneyt
NAL FUNCTION INTMAX > INTEGER, > INTEGER > RETURNS INTEGER BY VALUE > ENTRY_POINT 'intmax' MODULE_NAME 'teste'; > > select intmax(3, 2) from rdb$database; Very strange. I tried it here, and it works fine for me. I have Firebird 1.5 installed, so What ve

Re: [fpc-pascal]UDF + FreePascal + Firebird 1.5

2004-07-29 Thread Michael . VanCanneyt
Because if that works, then it is a Firebird issue. Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]UDF + FreePascal + Firebird 1.5

2004-07-29 Thread Michael . VanCanneyt
n a format that Firebird understands This is not correct, because I have a working version here. Have you tried writing the same library using C and see if that works ? Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/m

Re: [fpc-pascal]Delphi/FPC cross-compile

2004-08-04 Thread Michael . VanCanneyt
can always be considered a class property, but not the opposite. If the docs are not clear on this point, feel free to send me remarks. Also, if you need assistance in writing cross-platform code, feel free to contact me in private. If I can help, I will. Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]SMTP and Free Pascal

2004-08-05 Thread Michael . VanCanneyt
rat.cz/synapse/ Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]Delphi "9" language features...

2004-08-11 Thread Michael . VanCanneyt
n complex types, which is a bad thing and totally arbitrary. The last time they did that was with Variants, which has been a dirty mess every since. It destroys the beauty and strict typing of Object Pascal... Michael. ___ fpc-pascal maillist -

Re: [fpc-pascal]Delphi "9" language features...

2004-08-11 Thread Michael . VanCanneyt
s, but the OS (=Win32) uses it, so...' :) Reading the answer you got to the question of ordering, you hit the nail on the head. There is no way the compiler can guarantee the order of a certain IEnumerable interface. It depends entirely on the implementation... It's of course somethin

Re: [fpc-pascal]Readkey

2004-08-21 Thread Michael . VanCanneyt
nd CRT in the uses clause. In that case, CRT will be initialized last, and will set the terminal in the proper mode for CRT to function correctly. It may confuse svgalib's keyboard handling, though. But as you will probably only be using CRT routines for that, this should not matter. Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]Graphics cards, VGALIB

2004-08-26 Thread Michael Knapp
Jeff Weeks wrote: Do I really need to use vgalib under linux? I'm having a hard time finding a supported graphics card. Is it true that only a handful of chipsets are supported? Any way to use the X graphics rather than vgalib? use svgalib instead. Mi

Re: [fpc-pascal]CORBA

2004-08-28 Thread Michael . VanCanneyt
> links to FPC bindings (or information how I could create bindings.. > if that's not a monumental task). > > Any other thoughts about better ways to do this also appreciated.. I > know nothing of CF. I have access to Delphi 7/8 but I would much > prefer to use FPC

Re: [fpc-pascal]Where is the error?

2004-09-01 Thread Michael . VanCanneyt
sible at all ...) > > For example Alan would compile his matrix stuff in delphi mode and link > to other object files compiled in objpas mode? This is not a problem. The generated code is the same, independent of the mode. The mode only affects the parsing, and how identifiers are interpreted.

Re: [fpc-pascal]Where is the error?

2004-09-01 Thread Michael . VanCanneyt
t;> For example Alan would compile his matrix stuff in delphi mode and link > >> to other object files compiled in objpas mode? > > > > This is not a problem. The generated code is the same, independent of the > > mode. The mode only affects the parsing, and how ide

Re: [fpc-pascal] Explicit date from double format

2004-09-29 Thread Michael . VanCanneyt
On Wed, 29 Sep 2004, Anton Tichawa wrote: > Michael Van Canneyt wrote: > > >On Wed, 29 Sep 2004, Jilani Khaldi wrote: > > > > > > > >>Hi All, > >>Does somebody kown the algorithm to convert a date from the double > >>format to an e

Re: [fpc-pascal] Explicit date from double format

2004-09-29 Thread Michael . VanCanneyt
ys since 00:00 1.1.1900 - The fractional part is the number of milliseconds since 00:00 of the day divided by the total number of milliseconds in a day. Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] CGI question

2004-10-08 Thread Michael . VanCanneyt
, ezcgi, cgiapp, I believe fpc-web or so also exists somewhere on the web. Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Error: Can't declare procedure as EXTERNAL

2004-12-02 Thread Michael . VanCanneyt
an't be helped. > >And most importantly: >3) This way the interface gets cluttered with implementation details like > "name QtNamePrefix + 'QObjectList_create2'" Once more, this is known, but cannot yet be solved. Only when FPC has an internal linker, thi

Re: [fpc-pascal] Error: Can't declare procedure as EXTERNAL

2004-12-02 Thread Michael . VanCanneyt
em in an include file. Also the interface > declarations for kylix. For FPC only use the include file with the > externals in the interface and for Kylix use both include files. If you have it in the interface anyway, there is no need to have both files ? Michael.

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

2004-12-20 Thread Michael . VanCanneyt
es data. home: >./testlinie 01A 02B 03C 04D 05E 06F 07G 08H 09I 0 10J 11A 12B 13C 14D 15E 16F The FPC output is exactly the same. Michael. _

[fpc-pascal] FPC 1.9.6 (a.k.a. 2.0.0-RC1) is out

2005-01-02 Thread Michael . VanCanneyt
Hello, The Free Pascal Team is pleased to announce that FPC version 1.9.6 (or 2.0.0-RC1) is available and ready for download. This is a pre-release of version 2.0. As such, it is considered a beta of the upcoming 2.0 release, which is expected to be released in one or two months from here. Whil

Re: [fpc-pascal] Debug server under win32

2005-01-12 Thread Michael . VanCanneyt
re about 3.124.654 other things on my todo list which come before this. If you want to give it a try, please let me know, and I'll help wherever I can. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepasc

Re: [fpc-pascal] USB or RS-232 capability?

2005-01-14 Thread Michael . VanCanneyt
hich use FPC too. If you want to have my > header translation to an FPC unit just drop me an email. It would be nice to have an entry in the contributed units page ? Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] USB or RS-232 capability?

2005-01-14 Thread Michael . VanCanneyt
sers "Back" button and again clicking the > "Submit" button it worked. I tried now to look at the contribution form > and again got the error message that add.php3 is missing. This was my mistake. I fixed it. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Cross-compilation to Linux from win32

2005-01-15 Thread Michael . VanCanneyt
very welcome. You can't do it using linux alone. You must install cross-target binutils. Specifically: the linker must create a linux binary instead of a Windows binary. Once you have those installed (there is a zip floating around somewhere) you must point the compiler

Re: [fpc-pascal] Missing units documentation?

2005-01-16 Thread Michael . VanCanneyt
d. This is meanwhile fixed, but not on the FTP site. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] how to open a .dat file

2005-01-27 Thread Michael Knapp
would appreciate it if sombody could help me I recommend that you visit a library (maybe there is one at your school) and look for introductionary pascal programming books. Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

<    2   3   4   5   6   7   8   9   10   11   >