Re: [fpc-pascal] NNTP sever component

2006-07-15 Thread Graeme Geldenhuys
Excellent... thanks! Graeme. On 7/15/06, Burkhard Carstens <[EMAIL PROTECTED]> wrote: Indy has a NNTP server component. See http://www.indyproject.org/Sockets/fpc/index.en.html for download. (for linux, use the gzip, the bz2 link doesn't work) -- There's no place like 127.0.0.1 ___

Re: [fpc-pascal] NNTP sever component

2006-07-15 Thread Burkhard Carstens
Am Samstag, 15. Juli 2006 16:16 schrieb Graeme Geldenhuys: > Hi, > > Anybody know of a NNTP server component I can use with Lazarus or > FreePascal? I would like to write a News Server that uses the > Firebird DB as backend. Indy has a NNTP server component. See http://www.indyproject.org/Sockets

[fpc-pascal] NNTP sever component

2006-07-15 Thread Graeme Geldenhuys
Hi, Anybody know of a NNTP server component I can use with Lazarus or FreePascal? I would like to write a News Server that uses the Firebird DB as backend. Regards, Graeme. -- There's no place like 127.0.0.1 ___ fpc-pascal maillist - fpc-pascal@l

Re: [fpc-pascal] fpcUnit testing Exceptions

2006-07-15 Thread Graeme Geldenhuys
On 7/15/06, Dean Zobec <[EMAIL PROTECTED]> wrote: I would create a procedure in the TTestCase class that would internaly access this property and pass this procedure instead. I created a local procedure and tried to pass that (See a message I posted 2 replies ago). It didn't work, but I was on

Re: [fpc-pascal] fpcUnit testing Exceptions

2006-07-15 Thread Dean Zobec
Graeme Geldenhuys wrote: > > I think the problem is the SlideTypeDB which is a property! I will > change it to a standard function returning a string and try > @si.SlideTypeDB again. I guess it won't work, since assertException expects a procedure (TRunMethod = procedure of Object). I would crea

Re: [fpc-pascal] fpcUnit testing Exceptions

2006-07-15 Thread Graeme Geldenhuys
Hi, where TRunMethod = procedure of object; How is SlideTypeDB defined? the correct way should be AssertException('Failing on 3', EUnknownSlideType, @si.SlideTypeDB); provided SlideTypeDB is a simple procedure with no parameters and you are using {$mode objfpc} si = Is a Slide Informatio