[fpc-pascal]TThread

2003-07-22 Thread Lukas Gebauer
because I am new in FPC community, can someone explain me what is bad on threads implementation on FPC? (TThread object interesting me.) -- Lukas Gebauer. E-mail: [EMAIL PROTECTED] http://www.ararat.cz/synapse/ - Ararat Synapse - TCP/IP Lib. ___ fpc

Re: [fpc-pascal]XChat plugins using FPC

2003-07-22 Thread Michael Van Canneyt
On Wed, 23 Jul 2003, James Mills wrote: > On Wed, Jul 23, 2003 at 03:28:55AM +0200, Marco van de Voort wrote: > > > I can successully compile and test the plugin source listed at > > > http://xchat.org/docs/plugin20.html written in C. > > > > > > However I don't like C much and am wondering if i

Re: [fpc-pascal]XChat plugins using FPC

2003-07-22 Thread Michael Van Canneyt
On Wed, 23 Jul 2003, James Mills wrote: > On Wed, Jul 23, 2003 at 03:28:55AM +0200, Marco van de Voort wrote: > > > I can successully compile and test the plugin source listed at > > > http://xchat.org/docs/plugin20.html written in C. > > > > > > However I don't like C much and am wondering if i

Re: [fpc-pascal]XChat plugins using FPC

2003-07-22 Thread James Mills
On Wed, Jul 23, 2003 at 03:28:55AM +0200, Marco van de Voort wrote: > > I can successully compile and test the plugin source listed at > > http://xchat.org/docs/plugin20.html written in C. > > > > However I don't like C much and am wondering if it's possible to do the > > same thing in pascal... ?

Re: [fpc-pascal]XChat plugins using FPC

2003-07-22 Thread James Mills
On Wed, Jul 23, 2003 at 03:28:55AM +0200, Marco van de Voort wrote: > > I can successully compile and test the plugin source listed at > > http://xchat.org/docs/plugin20.html written in C. > > > > However I don't like C much and am wondering if it's possible to do the > > same thing in pascal... ?

Re: [fpc-pascal]XChat plugins using FPC

2003-07-22 Thread Marco van de Voort
> I can successully compile and test the plugin source listed at > http://xchat.org/docs/plugin20.html written in C. > > However I don't like C much and am wondering if it's possible to do the > same thing in pascal... ? I know it has to be possible, but I need > someone to start me off in the rig

[fpc-pascal]Ummmm... anyone know why this doesn't work...

2003-07-22 Thread L D Blake
Ok, 3 checkboxes defined on a small window on win2000... s := 'Start processing when loaded'; OToy[1] := createwindow('Button',Cstr(S,cpt),ws_tabstop or ws_child or ws_visible or bs_autocheckbox, 10,15,185,20,Ohandle,1,mdrProg,nil); s := 'Exit when

[fpc-pascal]XChat plugins using FPC

2003-07-22 Thread James Mills
Hi, I can successully compile and test the plugin source listed at http://xchat.org/docs/plugin20.html written in C. However I don't like C much and am wondering if it's possible to do the same thing in pascal... ? I know it has to be possible, but I need someone to start me off in the right dire

Re: [fpc-pascal]File Lists...

2003-07-22 Thread L D Blake
In reply to your message of July 22, 2003 >> Thing is, I'd like to know what I've actually got before I go writing a bunch >> of duplicate units. > Look here: > http://www.freepascal.org/packages/packages.html > It contains an overview of all distributed packages, and an (empty) > HTML version

Re: [fpc-pascal]Synapse for FPC

2003-07-22 Thread Matt Emson
> It is greately usable for command-line programs or for visual programs > where blocking operation is not a problem. Apps with a GUI will cause a problem, no matter what. I include programs that use TurboVision/FreeVision/NCurses et al for GUI. I work on a large app that is completely TCP/IP base

Re: [fpc-pascal]Synapse for FPC

2003-07-22 Thread Marco van de Voort
> > I looked at the unit (mainly the synsock unit), and I see a Delphi project > > patched for Kylix, which is patched for FPC/Linux. > > In all library is very small 'IFDEFs' except synsock.pas. However lot of > 'IFDEFS' is only for FPC incompatbility with Borlands compilers! And the other way a

Re: [fpc-pascal]Synapse for FPC

2003-07-22 Thread Marco van de Voort
> On Tue, 22 Jul 2003, Marco van de Voort wrote: > > > implementation can be dynamically loaded. > > > > Why would an alternate implementation be unloadable just because the built-in > > default one uses a few units? > > I was of course just referring to your last point: i.e. the use of > structur

Re: [fpc-pascal]Synapse for FPC

2003-07-22 Thread Lukas Gebauer
> I looked at the unit (mainly the synsock unit), and I see a Delphi project > patched for Kylix, which is patched for FPC/Linux. In all library is very small 'IFDEFs' except synsock.pas. However lot of 'IFDEFS' is only for FPC incompatbility with Borlands compilers! Current Synapse is not final

Re: [fpc-pascal]Synapse for FPC

2003-07-22 Thread Michael Van Canneyt
On Tue, 22 Jul 2003, Marco van de Voort wrote: > > On Tue, 22 Jul 2003, Marco van de Voort wrote: > > > > > > Today I release new version of my 'Ararat Synapse'. (rel. 32) > > > > > > > > What it is? > > > > 'Ararat Synapse' is TCP/IP library for Delphi, C++Builder and Kylix. > > > > Now it is f

Re: [fpc-pascal]Synapse for FPC

2003-07-22 Thread Lukas Gebauer
> Is it synchranous/blocking or asynchranous? TCP/IP without threads is an > interesting idea, but I wouldn't like to have to use it. I don't see how it > could be usable in a real life app. Synapse is blocking by default... but you can use it in non-blocking mode too. It is greately usable for c

Re: [fpc-pascal]Synapse for FPC

2003-07-22 Thread Marco van de Voort
> On Tue, 22 Jul 2003, Marco van de Voort wrote: > > > > Today I release new version of my 'Ararat Synapse'. (rel. 32) > > > > > > What it is? > > > 'Ararat Synapse' is TCP/IP library for Delphi, C++Builder and Kylix. > > > Now it is for FreePascal too! It can be used for Wn32 systems and for > >

Re: [fpc-pascal]Synapse for FPC

2003-07-22 Thread Michael Van Canneyt
On Tue, 22 Jul 2003, Marco van de Voort wrote: > > Today I release new version of my 'Ararat Synapse'. (rel. 32) > > > > What it is? > > 'Ararat Synapse' is TCP/IP library for Delphi, C++Builder and Kylix. > > Now it is for FreePascal too! It can be used for Wn32 systems and for > > Linux system

Re: [fpc-pascal]Synapse for FPC

2003-07-22 Thread Marco van de Voort
> Today I release new version of my 'Ararat Synapse'. (rel. 32) > > What it is? > 'Ararat Synapse' is TCP/IP library for Delphi, C++Builder and Kylix. > Now it is for FreePascal too! It can be used for Wn32 systems and for > Linux systems too. > > Synapse is set of non-visual classes and procedur

Re: [fpc-pascal]Synapse for FPC

2003-07-22 Thread James Mills
On Tue, Jul 22, 2003 at 09:28:12AM +0200, Michael Van Canneyt wrote: > > > On Tue, 22 Jul 2003, Marco van de Voort wrote: > > > > > SNMP, NTP, SNTP, DNS, Syslog, FTP, TFTP, HTTP or LDAP protocols. You > > > > can also use my MIME encoding and decoding engine, you can use my > > > > charset trans

Re: [fpc-pascal]Synapse for FPC

2003-07-22 Thread James Mills
On Tue, Jul 22, 2003 at 10:36:54AM +0200, Lukas Gebauer wrote: > > Why should we use your set of classes vs. another set of classes > > developer by person X ? :) > > > > Just a friendly question, I know there are a lot of TCP/IP suites > > around... > > Why? It is not simple question. ;-) > > Be

Re: [fpc-pascal]Synapse for FPC

2003-07-22 Thread Matt Emson
Looking at Lukas' email, I will direct this at FPC and Michael's 'No thread' assertion. I see that Synapse itself is perfectly rational when concerning Multi Threading. Matt > > I've been cooperating to get it to work with FPC. It's one of the > > few suites that doesn't require threads and/or m

Re: [fpc-pascal]Synapse for FPC

2003-07-22 Thread Matt Emson
> I've been cooperating to get it to work with FPC. It's one of the > few suites that doesn't require threads and/or message pumps. So it was > better suited to work with FPC, till we have sufficient support for > threads and the like. (scheduled for 1.2) Is it synchranous/blocking or asynchranous

Re: [fpc-pascal]Synapse for FPC

2003-07-22 Thread Lukas Gebauer
> Why should we use your set of classes vs. another set of classes > developer by person X ? :) > > Just a friendly question, I know there are a lot of TCP/IP suites > around... Why? It is not simple question. ;-) Before a five years I need socket library for Delphi. In this time exists only two

Re: [fpc-pascal]File Lists...

2003-07-22 Thread Michael Van Canneyt
On Mon, 21 Jul 2003, L D Blake wrote: > In reply to your message of July 21, 2003 > > > As they say: "Use the source, Luke!". Or wait > > until someone has found the time to write documentation. > > LOL... I hear ya! > > Never was much good at reading other people's source code. Heck, I have >

Re: [fpc-pascal]Synapse for FPC

2003-07-22 Thread Michael Van Canneyt
On Tue, 22 Jul 2003, Marco van de Voort wrote: > > > SNMP, NTP, SNTP, DNS, Syslog, FTP, TFTP, HTTP or LDAP protocols. You > > > can also use my MIME encoding and decoding engine, you can use my > > > charset transcoding engine... and lot of more stuffs. ;-) > > > > > > For more informations look