Re: [fpc-pascal] Parallel Port Access with Free Pascal - windows

2016-07-20 Thread Marc Santhoff
On Fr, 2016-07-15 at 14:59 -0700, Zaaphod wrote: > I am trying to get access to the parallel port with Free Pascal. > > I'm trying to use this version of inpout32 (x64) > http://www.highrez.co.uk/downloads/inpout32/ > > Here's my program: > http://pastebin.com/facf6EFc > > Here's my Unit: > h

Re: [fpc-pascal] Improvement to TFPHTTPClient Class

2016-07-20 Thread African Wild Dog
2016-07-20 3:45 Michael Van Canneyt : Because all Pascal TCP toolkits out there offer a HTTP Client. (lnet, indy, > synapse). By doing this, I leave the choice up to the user which one to use > for various APIs that are built ON TOP of HTTP. > > Your use case is simply one I didn't foresee, > Beca

Re: [fpc-pascal] CGI, Handle Exceptions

2016-07-20 Thread leledumbo
> I need to know the Request instance too, to treat the exception properly. As Michael has pointed out, the current design has no access to the TRequest instance. My alternative solution would be to create descendant Exception class that has Request property. For every exception you raise deliber

Re: [fpc-pascal] CGI, Handle Exceptions

2016-07-20 Thread Marcos Douglas
On Wed, Jul 20, 2016 at 12:40 PM, Michael Van Canneyt < mich...@freepascal.org> wrote: > > > On Wed, 20 Jul 2016, Marcos Douglas wrote: > > Hi, >> >> Is possible to get all exceptions in one place, in a CGI/FastCGI programs? >> >> I need to know the Request instance too, to treat the exception pro

Re: [fpc-pascal] CGI, Handle Exceptions

2016-07-20 Thread Michael Van Canneyt
On Wed, 20 Jul 2016, Marcos Douglas wrote: Hi, Is possible to get all exceptions in one place, in a CGI/FastCGI programs? I need to know the Request instance too, to treat the exception properly. No, you cannot. You can override Application.ShowException, but then you do not know the curr

[fpc-pascal] CGI, Handle Exceptions

2016-07-20 Thread Marcos Douglas
Hi, Is possible to get all exceptions in one place, in a CGI/FastCGI programs? I need to know the Request instance too, to treat the exception properly. Regards, Marcos Douglas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.fr