[fpc-pascal] XML Programming..

2008-02-12 Thread erwinam2006
Hi.. I'm looking for an example how to use or programming XML in fpc.. n the documentation I hope.. Tq.. Regards, EAM ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] XML Programming..

2008-02-12 Thread Michael Van Canneyt
On Mon, 11 Feb 2008, [EMAIL PROTECTED] wrote: > Hi.. I'm looking for an example how to use or programming XML in fpc.. n the > documentation I hope.. FPC has a DOM implementation. I have a small article where the use of DOM is introduced. It constructs a XML viewer application. If you want

Re: [fpc-pascal] XML Programming..

2008-02-12 Thread g . marcou
Hi, I used some tutorial: http://wiki.lazarus.freepascal.org/Networking http://www.thomas-zastrow.de/texte/fpcxml/dom-reading.php The XML support is done using the FCL's units DOM, XMLRead, XMLWrite. I recommand you to take a look in Lazde. This is the documentation editor of Lazarus. It is

[fpc-pascal] Re: Interfacing with the free pascal compiler ?

2008-02-12 Thread Guillermo Martínez Jiménez
Esteemed Skybuck, I've read your messages and I think you didn't understood what Free Pascal is (or may be I didn't understood your questions). Free Pascal is an Object Pascal compiler, like Delphi, so it's mostly compatible with it but they're quite different since FP doesn't include a RAD IDE n

Re: [fpc-pascal] remote mysql connection

2008-02-12 Thread Michael Van Canneyt
On Tue, 12 Feb 2008, Wolfram Kläger wrote: > I am trying to get access to a remote MySQL database via sqldb and > mysql50conn, ending up with 'EDatabaseError, Server connect failed.' > > Probably naive to assume, the fcl-db units work with a remote server as > well as with localhost. For FTP u

Re: [fpc-pascal] Skybuck's ODE approved by sourceforge :)

2008-02-12 Thread Florian Klaempfl
Marco Alvarado schrieb: > What about creating an Eclipse add-on for FPC, instead of writing a > Lazarus-like editor (that's what you seem to be doing) from scratch. I > just think, if a whole team of talented people have spend so much time > creating such tool, and are still developing it, do you t

Re: [fpc-pascal] Skybuck's ODE approved by sourceforge :)

2008-02-12 Thread Skybuck Flying
Look in the subversion folder. Current version is 0.04 Bye, Skybuck. Lazarus=waste of time for me. Well, I tried alternatives for Lazarus like e.g. this ODE thing : https://sourceforge.net/project/showfiles.php?group_id=217653 and they didn't even had a readily usable release. ___

[fpc-pascal] Re: Interfacing with the free pascal compiler ?

2008-02-12 Thread L
> also FPC doesn't support the "path/unitname.pas"> construction, Delphi can't manage exported > variables from dynamic linking modules (DLL, so, dylib...) but FPC > does it, etc. FPC supports: uses unit1 in "../foo/bar/somefile.pas"; I am using this so I don't have to ship FPC config files

RE: [fpc-pascal] XML Programming..

2008-02-12 Thread erwinam2006
Actually I want to change data beetwen application from .Net with my app in FPC using web interface (webservices ?). Is there are an examples about that ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ik Sent: Tuesday, February 12, 2008 8:06 PM To: FPC-P

RE: [fpc-pascal] XML Programming..

2008-02-12 Thread erwinam2006
Oh great.. With my pleasure.. please sent it to my email.. thaks before. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Van Canneyt Sent: Tuesday, February 12, 2008 4:47 PM To: FPC-Pascal users discussions Subject: Re: [fpc-pascal] XML Programming

Re: [fpc-pascal] Skybuck's ODE approved by sourceforge :)

2008-02-12 Thread Giuliano Colla
Skybuck Flying ha scritto: Look in the subversion folder. Current version is 0.04 I gave a look. The only code I found there is: 94 procedure TForm1.FileListBox1Click(Sender: TObject); 95 begin 96 if FileExists( FileListBox1.FileName ) then 97 begin 98 SynEditor.Lines

Re: [fpc-pascal] Re: Can you knock my socks off ? Can you mimic Skybuck's/Delphi's Major Breakthrough for code path and memory structure selection ?

2008-02-12 Thread Henry Vermaak
On 12/02/2008, Milan Marusinec <[EMAIL PROTECTED]> wrote: > Googling for term "Skyfuck Flying" gives an enormous number of postings to > various mailing lists all over the world. I think this guy is trying to > create > a Guiness record in posting per year or something silly like that ... just goo

[fpc-pascal] Re: Can you knock my socks off ? Can you mimic Skybuck's/Delphi's Major Breakthrough for code path and memory structure selection ?

2008-02-12 Thread Milan Marusinec
Luiz Americo Pereira Camara wrote: Matt Emson wrote: I don't think this guy actually listens to anything anyone says to him. He always seems, to me, to be speaking to an audience, rather than a discussion list. Adios Sybuck Flying, added you to my ignore list ;-) +1 Googling for term "Skyf

[fpc-pascal] [ADMIN] Rudeness etc

2008-02-12 Thread Jonas Maebe
Err, forgive me the (somewhat deserved) rudeness Ok people, that's enough for now. Please stop both posting flame baits, and replying to flame baits with other flame baits. Thank you. Jonas FPC mailing lists admin ___ fpc-pascal maillist - fpc-

[fpc-pascal] New local-indexes support for sqldb

2008-02-12 Thread Joost van der Sluis
Hi all, fpc 2.3.1 and 2.2.1 now have local indexes support for sqldb. (TBufDataset) I would like it if you can test if it works ok for you before we release fpc 2.2.2. Usage is pretty simple. For example use "ASQLQuery.AddIndex('indexname','lastname,firstname);" to add an index named 'indexname'

Re: [fpc-pascal] Skybuck's ODE approved by sourceforge :)

2008-02-12 Thread Marco Alvarado
Just wanted to show that creating another editor have no sense. :D I keep with Lazarus. 2008/2/12, Florian Klaempfl <[EMAIL PROTECTED]>: > Marco Alvarado schrieb: > > What about creating an Eclipse add-on for FPC, instead of writing a > > Lazarus-like editor (that's what you seem to be doing) from

Re: [fpc-pascal] Skybuck's ODE approved by sourceforge :)

2008-02-12 Thread Flávio Etrusco
On Feb 12, 2008 6:12 PM, Skybuck Flying <[EMAIL PROTECTED]> wrote: > Lazarus=waste of time for me. > > > Bye, > Skybuck. Err, forgive me the (somewhat deserved) rudeness, but may I reply "And all these tenths of your nonsense messages = waste of time for everybody else"... -Flávio PS. Disrega

Re: [fpc-pascal] Skybuck's ODE approved by sourceforge :)

2008-02-12 Thread Marco van de Voort
> Lazarus=waste of time for me. Well, I tried alternatives for Lazarus like e.g. this ODE thing : https://sourceforge.net/project/showfiles.php?group_id=217653 and they didn't even had a readily usable release. ___ fpc-pascal maillist - fpc-pascal@li

Re: [fpc-pascal] Skybuck's ODE approved by sourceforge :)

2008-02-12 Thread Skybuck Flying
Lazarus=waste of time for me. Bye, Skybuck. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] remote mysql connection

2008-02-12 Thread Leonardo M. Ram
Are you trying to connect to a MySql server included in a Shared Hosting account? In most cases, those servers doesn't allow remote MySql connection, just from localhost (local to the remote server). With that, you can use a CGI script located inside the shared host and connect to MySql. An al

Re: [fpc-pascal] set addition bug?

2008-02-12 Thread Adam Naumowicz
On Tue, 12 Feb 2008, Peter Vreman wrote: Fixed in 2.3.1 in r10311. Thanks a lot for your quick response. Surely it solves the problem with empty set as the second parameter. But I'm not sure if the other code I sent later would also be fixed? - apparently that one had incorrect valuation wh

Re: [fpc-pascal] set addition bug?

2008-02-12 Thread Peter Vreman
Fixed in 2.3.1 in r10311. Thanks a lot for your quick response. Surely it solves the problem with empty set as the second parameter. But I'm not sure if the other code I sent later would also be fixed? - apparently that one had incorrect valuation when tested with official 2.2.0 for Win32 - a

Re: [fpc-pascal] Skybuck's ODE approved by sourceforge :)

2008-02-12 Thread Daniël Mantione
Op Tue, 12 Feb 2008, schreef Skybuck Flying: Hello, My project called: Skybuck's ODE is getting off the ground :) The project's website, source code, collobaration support is located at: https://sourceforge.net/projects/skybuckode/ For now one type of job is available: Syntax highlighting

Re: [fpc-pascal] set addition bug?

2008-02-12 Thread Adam Naumowicz
Hi Peter, On Tue, 12 Feb 2008, Peter Vreman wrote: Adam Naumowicz wrote: Hello again, On Mon, 11 Feb 2008, Adam Naumowicz wrote: Hello, I'd like to know if this is a known issue, or a new bug. With the following code: -- program tester; type SomeType = ( SomeElem ); cons

Re: [fpc-pascal] XML Programming..

2008-02-12 Thread Damien Gerard
Le Feb 11, 2008 à 2:15 AM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED] > a écrit : Hi.. I’m looking for an example how to use or programming XML in fpc.. n the documentation I hope.. http://www.thomas-zastrow.de/texte/fpcxml/index.php -- Damien Gerard [EMAIL PROTECTED] Le temps n'a pas d'im

Re: [fpc-pascal] set addition bug?

2008-02-12 Thread Peter Vreman
Adam Naumowicz wrote: Hello again, On Mon, 11 Feb 2008, Adam Naumowicz wrote: Hello, I'd like to know if this is a known issue, or a new bug. With the following code: -- program tester; type SomeType = ( SomeElem ); const ElemSet = [ SomeElem ]; begin writeln(SomeElem in

[fpc-pascal] remote mysql connection

2008-02-12 Thread Wolfram Kläger
I am trying to get access to a remote MySQL database via sqldb and mysql50conn, ending up with 'EDatabaseError, Server connect failed.' Probably naive to assume, the fcl-db units work with a remote server as well as with localhost. For FTP up-/downloads I am using the Synapse toolkit successfully.

Re: [fpc-pascal] Skybuck's ODE approved by sourceforge :)

2008-02-12 Thread Marco Alvarado
What about creating an Eclipse add-on for FPC, instead of writing a Lazarus-like editor (that's what you seem to be doing) from scratch. I just think, if a whole team of talented people have spend so much time creating such tool, and are still developing it, do you think you can finish it... someda

Re: [fpc-pascal] Semaphore

2008-02-12 Thread Damien Gerard
Le Feb 12, 2008 à 3:47 PM, Jonas Maebe a écrit : On 12 Feb 2008, at 15:43, Damien Gerard wrote: Ok thanks ! I ve got all I need to use Semaphore, except one thing : How I set the limit ? I mean I want to restrict to 4 concurrent accesses to a shared ressource. With pthread I have int se

Re: [fpc-pascal] Semaphore

2008-02-12 Thread Jonas Maebe
On 12 Feb 2008, at 15:43, Damien Gerard wrote: Ok thanks ! I ve got all I need to use Semaphore, except one thing : How I set the limit ? I mean I want to restrict to 4 concurrent accesses to a shared ressource. With pthread I have int sem_init(sem_t *sem, int pshared, unsigned int value);

Re: [fpc-pascal] Semaphore

2008-02-12 Thread Damien Gerard
Le Feb 12, 2008 à 3:08 PM, Jonas Maebe a écrit : On 12 Feb 2008, at 14:55, Damien Gerard wrote: I though that too but currenttm can not be found under Windows. What is the good unit for it ? Indeed, you shouldn't use currenttm. Use this routine instead (from the system unit, the result

Re: [fpc-pascal] Semaphore

2008-02-12 Thread Jonas Maebe
On 12 Feb 2008, at 14:55, Damien Gerard wrote: I though that too but currenttm can not be found under Windows. What is the good unit for it ? Indeed, you shouldn't use currenttm. Use this routine instead (from the system unit, the result indicates success or failure): Function GetThreadM

Re: [fpc-pascal] Semaphore

2008-02-12 Thread Jonas Maebe
On 12 Feb 2008, at 14:54, Damien Gerard wrote: Le Feb 12, 2008 à 2:44 PM, Jonas Maebe a écrit : No, you can't, because sem_init does not exist on Mac OS X. Use the RTL implementation, it works on all platforms. Further, the above code looks buggy because it always calls sem_destroy for F

Re: [fpc-pascal] Semaphore

2008-02-12 Thread Damien Gerard
Le Feb 12, 2008 à 2:44 PM, Jonas Maebe a écrit : On 12 Feb 2008, at 14:20, Damien Gerard wrote: Le Feb 12, 2008 à 12:36 PM, Graeme Geldenhuys a écrit : procedure TtiPool.CreatePoolSemaphore; begin {$IFDEF MSWINDOWS} if FSemaphore <> 0 then CloseHandle(FSemaphore); FSemaphore := CreateSema

[fpc-pascal] Skybuck's ODE approved by sourceforge :)

2008-02-12 Thread Skybuck Flying
Hello, My project called: Skybuck's ODE is getting off the ground :) The project's website, source code, collobaration support is located at: https://sourceforge.net/projects/skybuckode/ For now one type of job is available: Syntax highlighting based on SynEdit. More info is in the help foru

Re: [fpc-pascal] Free Pascal compiler/linker/debugger as a plug-in/replacement for Delphi compiler/linker/debugger

2008-02-12 Thread Matt Emson
Marco van de Voort wrote: What about Lazarus? It's active. The CrossFPC project is awfully silent (and IMHO never made technilogical sense) The move from the old D7 and prior IDE to the BDS/Galileo one broke the whole CrossXXX movement last time I looked. _

Re: [fpc-pascal] Semaphore

2008-02-12 Thread Jonas Maebe
On 12 Feb 2008, at 14:20, Damien Gerard wrote: Le Feb 12, 2008 à 12:36 PM, Graeme Geldenhuys a écrit : procedure TtiPool.CreatePoolSemaphore; begin {$IFDEF MSWINDOWS} if FSemaphore <> 0 then CloseHandle(FSemaphore); FSemaphore := CreateSemaphore(nil, FMaxPoolSize, FMaxPoolSize, nil); {$ENDI

Re: [fpc-pascal] Semaphore

2008-02-12 Thread Jonas Maebe
On 11 Feb 2008, at 10:45, Damien Gerard wrote: I think it has been discussed before but I would like to use Semaphores, to allow multiple reads but 1 write at once (which is in fact commons operations in a multi-thread program). My program must work under OSX/Nux and Windows. I may have mi

Re: [fpc-pascal] Free Pascal compiler/linker/debugger as a plug-in/replacement for Delphi compiler/linker/debugger

2008-02-12 Thread Marco van de Voort
> What about Lazarus? It's active. The CrossFPC project is awfully silent (and IMHO never made technilogical sense) ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Semaphore

2008-02-12 Thread Damien Gerard
Le Feb 12, 2008 à 12:36 PM, Graeme Geldenhuys a écrit : On 11/02/2008, Damien Gerard <[EMAIL PROTECTED]> wrote: My program must work under OSX/Nux and Windows. I may have missed something but I can not find something suitable for me. Under Windows OpenSemaphore, under unixes CurrentTM.Semaphor

Re: [fpc-pascal] XML Programming..

2008-02-12 Thread ik
What type of programming ? DOM ? SOAP ? XMLRPC ? XSLT ? XSL ? other technologies ? As other replied there is a DOM implementation, but if you require different technology then please tell us. Please note that XML is a hough subject on it's own. Ido On Feb 11, 2008 3:15 AM, <[EMAIL PROTECTED]> wr

Re: [fpc-pascal] fpc 2.2's tmysql5conn error

2008-02-12 Thread Bee
I suppose you meant 2.2.1? Or did 2.2.0 has this problem? Both of them. :-D -Bee- has Bee.ography at: http://beeography.wordpress.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] XML Programming..

2008-02-12 Thread Graeme Geldenhuys
On 11/02/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi.. I'm looking for an example how to use or programming XML in fpc.. n the > documentation I hope.. > You can also look at FPCunit which is part of FPC. It has a XML output option built in. 'lazde' or 'fpde' are other options. Reg

Re: [fpc-pascal] Semaphore

2008-02-12 Thread Graeme Geldenhuys
On 11/02/2008, Damien Gerard <[EMAIL PROTECTED]> wrote: > My program must work under OSX/Nux and Windows. > I may have missed something but I can not find something suitable for > me. > Under Windows OpenSemaphore, under unixes CurrentTM.Semaphore*... > > Is there any TSemaphore class of equivalent

Re: [fpc-pascal] fpc 2.2's tmysql5conn error

2008-02-12 Thread Joost van der Sluis
I suppose you meant 2.2.1? Or did 2.2.0 has this problem? Joost Op dinsdag 12-02-2008 om 12:52 uur [tijdzone +0700], schreef Bee: > Hi all, > > This morning, when I was testing to upgrade FPC on productional server > to v.2.2, I found a strange error in TmySQL5Connection of FPC 2.2's > FCL-DB. A

Re: [fpc-pascal] Semaphore

2008-02-12 Thread Damien Gerard
Le Feb 12, 2008 à 12:36 PM, Graeme Geldenhuys a écrit : On 11/02/2008, Damien Gerard <[EMAIL PROTECTED]> wrote: My program must work under OSX/Nux and Windows. I may have missed something but I can not find something suitable for me. Under Windows OpenSemaphore, under unixes CurrentTM.Semaphor

Re: [fpc-pascal] Semaphore

2008-02-12 Thread Damien Gerard
Le Feb 12, 2008 à 2:41 PM, Jonas Maebe a écrit : On 11 Feb 2008, at 10:45, Damien Gerard wrote: I think it has been discussed before but I would like to use Semaphores, to allow multiple reads but 1 write at once (which is in fact commons operations in a multi-thread program). My progra

Re: [fpc-pascal] Semaphore

2008-02-12 Thread Graeme Geldenhuys
On 12/02/2008, Jonas Maebe <[EMAIL PROTECTED]> wrote: > > CurrentTM.Semaphore* should also work under Windows (if it doesn't, > please file a bug report). And the way to use those is by calling > > {$ifdef unix} > uses >cthreads; > {$endif} > var >p: pointer; > begin >p:=currenttm.Semap