Re: [fpc-pascal] TFPHTTPServer and HTTPS

2022-08-23 Thread Fabio Luis Girardi via fpc-pascal
Hi! Thanks Ondrej! With your orientation I was able to make a TFPHTTPServer working with HTTPS with FPC 3.2.2 Em ter., 23 de ago. de 2022 às 18:34, Alexey Torgashin via fpc-pascal < fpc-pascal@lists.freepascal.org> escreveu: > > You need to set your certificate details as well: > > fServer.Use

Re: [fpc-pascal] TFPHTTPServer and HTTPS

2022-08-23 Thread Alexey Torgashin via fpc-pascal
You need to set your certificate details as well: fServer.UseSSL := fUseSSL; I just saved this info to wiki: https://wiki.freepascal.org/fphttpserver#Support_for_HTTPS ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepa

Re: [fpc-pascal] TFPHTTPServer and HTTPS

2022-08-23 Thread Ondrej Pokorny via fpc-pascal
You need to set your certificate details as well:   fServer.UseSSL := fUseSSL;   if fUseSSL then   begin     fServer.CertificateData.KeyPassword := fCertificatePassword;     fServer.CertificateData.HostName := fCertificateHostName;     fServer.CertificateData.Certificate.FileName := fCertificateF

Re: [fpc-pascal] TFPHTTPServer and HTTPS

2022-08-23 Thread Fabio Luis Girardi via fpc-pascal
Hi Michael! Thanks for replying so fast. You're telling me that is possible, so the remaining possibility is that I have a problem in my environment. Last question: FPC 3.2.2 can do that or I have to use trunk version? Sorry for taking your time. Em ter., 23 de ago. de 2022 às 17:05, Michael Va

Re: [fpc-pascal] TFPHTTPServer and HTTPS

2022-08-23 Thread Michael Van Canneyt via fpc-pascal
On Tue, 23 Aug 2022, Fabio Luis Girardi via fpc-pascal wrote: Exists in FPC some example that demonstrates the use of TFPHTTPServer with HTTPS? The unique example that I have found is about TCustomHTTPApplication. There is no separate example. Using https is just setting a property UseSSL

[fpc-pascal] TFPHTTPServer and HTTPS

2022-08-23 Thread Fabio Luis Girardi via fpc-pascal
Exists in FPC some example that demonstrates the use of TFPHTTPServer with HTTPS? The unique example that I have found is about TCustomHTTPApplication. -- The best regards, Fabio Luis Girardi PascalSCADA Project http://sourceforge.net/projects/pascalscada http://www.pascalscada.com _

Re: [fpc-pascal] I am offering a $100 reward for linking static libraries

2022-08-23 Thread Anthony Walter via fpc-pascal
Tony, Thank you for that idea. Unfortunately, I initially tried using this approach several times in various ways without success. Each time I complete the missing functions in a manner as you've described, as the last missing function is provided I always receive an internal linking error message

Re: [fpc-pascal] I am offering a $100 reward for linking static libraries

2022-08-23 Thread Henry Vermaak via fpc-pascal
On Mon, 22 Aug 2022 at 22:42, Pierre Muller via fpc-pascal wrote: > Le 22/08/2022 à 18:18, Henry Vermaak via fpc-pascal a écrit : > > On Sun, 21 Aug 2022 at 18:34, Anthony Walter via fpc-pascal > > wrote: > >> I am also able to use mingw32 gcc to compile this same C source into a > >> static lib

Re: [fpc-pascal] I am offering a $100 reward for linking static libraries

2022-08-23 Thread Tony Whyman via fpc-pascal
Once upon a time (late-1990s) I had some reasonable success (shareware) marketing a JPEG library for Delphi. This was a wrapper around the Independent JPEG Group's JPEG software which was written in 'C'. My JPEG library had thus to link to a 'C' library and both dynamic and static linking was o