Re: [fpc-pascal] SysUtils.GetEnvironmentVariable

2012-03-28 Thread Marcos Douglas
On Wed, Mar 28, 2012 at 6:40 PM, Michael Van Canneyt wrote: > > > > On Wed, 28 Mar 2012, Marcos Douglas wrote: > >> Hi, >> >> I think SysUtils.GetEnvironmentVariable has a problem. >> I tried to use GetEnvironmentVariable on WinXP and Win7. Sometimes >> works on WinXP, others not. But never worked

[fpc-pascal] Request redirection + login session in fpweb

2012-03-28 Thread leledumbo
I'm currently building a web app using HTTP server application project + fpweb + tiopf (with sqlite backend). However, I'm stuck in this scenario: Imagine a user log's in to my web app, which could be done from any page (it's part of the layout), how can I: Save login data in session, in case the

Re: [fpc-pascal] SysUtils.GetEnvironmentVariable

2012-03-28 Thread Michael Van Canneyt
On Wed, 28 Mar 2012, Marcos Douglas wrote: Hi, I think SysUtils.GetEnvironmentVariable has a problem. I tried to use GetEnvironmentVariable on WinXP and Win7. Sometimes works on WinXP, others not. But never worked on Win7. I asked some friends to test on Linux and did not work too. My FPC i

[fpc-pascal] SysUtils.GetEnvironmentVariable

2012-03-28 Thread Marcos Douglas
Hi, I think SysUtils.GetEnvironmentVariable has a problem. I tried to use GetEnvironmentVariable on WinXP and Win7. Sometimes works on WinXP, others not. But never worked on Win7. I asked some friends to test on Linux and did not work too. My FPC is 2.6.1 rev 20648 on WinXP. The test: 1- Create

Re: [fpc-pascal] Database questions re 21579: [Patch] Dbtestframework compilationf fixes for Win64

2012-03-28 Thread Reinier Olislagers
On 28-3-2012 11:36, Sven Barth wrote: > Am 28.03.2012 11:12, schrieb Reinier Olislagers: >> On 28-3-2012 11:04, Sven Barth wrote: >>> Am 28.03.2012 10:29, schrieb Reinier Olislagers: >> Do you know why it's not compiled on Win64? > > Do you want the reason why it's not compiled in the view of fpma

Re: [fpc-pascal] Database questions re 21579: [Patch] Dbtestframework compilationf fixes for Win64

2012-03-28 Thread Sven Barth
Am 28.03.2012 11:12, schrieb Reinier Olislagers: On 28-3-2012 11:04, Sven Barth wrote: Am 28.03.2012 10:29, schrieb Reinier Olislagers: Oracle instant client for Windows x64 (the download size makes it... not so instant though) http://www.oracle.com/technetwork/database/features/instant-client/

Re: [fpc-pascal] Problems with broken (or unclear) download urls for fpc-solaris

2012-03-28 Thread Mark Morgan Lloyd
Adrian Maier wrote: On Wed, Mar 28, 2012 at 10:45, Mark Morgan Lloyd wrote: Adrian Maier wrote: Hello, I wanted to download the latest freepascal for Sparc Solaris . Issue 1: Opened the http://www.freepascal.org/download.var, clicked on the "SPARC Solaris" link. It opened the page for

Re: [fpc-pascal] Database questions re 21579: [Patch] Dbtestframework compilationf fixes for Win64

2012-03-28 Thread Reinier Olislagers
On 28-3-2012 11:04, Sven Barth wrote: > Am 28.03.2012 10:29, schrieb Reinier Olislagers: >> Oracle instant client for Windows x64 (the download size makes it... not >> so instant though) >> http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html > It's called "instant"

Re: [fpc-pascal] Database questions re 21579: [Patch] Dbtestframework compilationf fixes for Win64

2012-03-28 Thread Sven Barth
Am 28.03.2012 10:29, schrieb Reinier Olislagers: Oracle instant client for Windows x64 (the download size makes it... not so instant though) http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html It's called "instant" client, because it does not need any installati

Re: [fpc-pascal] Problems with broken (or unclear) download urls for fpc-solaris

2012-03-28 Thread Adrian Maier
On Wed, Mar 28, 2012 at 10:45, Mark Morgan Lloyd wrote: > Adrian Maier wrote: >> >> Hello, >> >> I wanted to download the latest freepascal for Sparc Solaris . >> >> Issue 1: >> Opened the http://www.freepascal.org/download.var    ,   clicked on >> the "SPARC Solaris"  link. >> It opened the page

[fpc-pascal] Database questions re 21579: [Patch] Dbtestframework compilationf fixes for Win64

2012-03-28 Thread Reinier Olislagers
Hi list, I've submitted a patch (21579) to allow win64 dbtestframework compilation. It does that by disabling support for some databases. Oracle, PostgreSQL, MS SQL Server and Sybase connectors are not built on Win64: see packages\fcl-db\src\sqldb\postgres\fpmake.pp Speculated with Lacak2 in man

Re: [fpc-pascal] Problems with broken (or unclear) download urls for fpc-solaris

2012-03-28 Thread Mark Morgan Lloyd
Adrian Maier wrote: Hello, I wanted to download the latest freepascal for Sparc Solaris . Issue 1: Opened the http://www.freepascal.org/download.var, clicked on the "SPARC Solaris" link. It opened the page for selecting the mirror. Clicked on Sourceforge , which lead to : http://source

[fpc-pascal] Extended SVN class available

2012-03-28 Thread Reinier Olislagers
Working on fpcup, Ludo Brands and I extended the fppkg SvnCommand unit. Functionality: - detects svn clients automatically (even a few well-known if not in path on Windows); client path can be specified by user, too. - checkout, update commands; default HEAD, but you can specify a desired revision

[fpc-pascal] Problems with broken (or unclear) download urls for fpc-solaris

2012-03-28 Thread Adrian Maier
Hello, I wanted to download the latest freepascal for Sparc Solaris . Issue 1: Opened the http://www.freepascal.org/download.var, clicked on the "SPARC Solaris" link. It opened the page for selecting the mirror. Clicked on Sourceforge , which lead to : http://sourceforge.net/projects/fre