Re: [Lazarus] [Brook] HTTP method not allowed for the requested resource

2014-02-25 Thread silvioprog
2014-02-25 18:22 GMT-03:00 Giuseppe : > Hi all, > > I'm trying demos on Brook 3 (from github), and simple demos works fine, > but with DB demos I get the error: > Error 405 > HTTP method not allowed for the requested resource. > > Some idea? > > Regards. > Oh, is you Giu of Lazarus forum? Sorry,

Re: [Lazarus] Lazarus/FPC for Web Development only

2014-02-25 Thread silvioprog
2014-02-25 15:38 GMT-03:00 Giuseppe : > > El 25/02/2014, a las 19:14, silvioprog escribió: > > 2014-02-25 13:32 GMT-03:00 Giuseppe : > >> El 24/02/2014 20:46, silvioprog escribió: >> >> 2014-02-23 17:09 GMT-03:00 Giuseppe : >> [...] >> >>> Well, mainly my web development projects are based on c

Re: [Lazarus] ./fpcup_linux_x64 won't create lazarus executable

2014-02-25 Thread Allan E. Registos
On Tuesday, 25 February, 2014 03:33 PM, brian wrote: > On 02/24/2014 05:52 PM, Allan E. Registos wrote: >> Anybody who is using fpcup on Ubuntu 12.04 64-bit? > > Not Ubuntu, but its ancestor. I'm using 64-bit Debian 7, and the last > time I updated (about a week ago, I think) everything worked OK f

[Lazarus] [Brook] HTTP method not allowed for the requested resource

2014-02-25 Thread Giuseppe
Hi all, I'm trying demos on Brook 3 (from github), and simple demos works fine, but with DB demos I get the error: Error 405 HTTP method not allowed for the requested resource. Some idea? Regards. -- ___ Lazarus mailing list Lazarus@lists.lazarus.fr

Re: [Lazarus] Lazarus/FPC for Web Development only

2014-02-25 Thread Giuseppe
> El 25/02/2014, a las 19:14, silvioprog escribió: > > 2014-02-25 13:32 GMT-03:00 Giuseppe : >> El 24/02/2014 20:46, silvioprog escribió: >>> 2014-02-23 17:09 GMT-03:00 Giuseppe : >>> [...] Well, mainly my web development projects are based on corporative websites or eCommerce, not

Re: [Lazarus] Lazarus/FPC for Web Development only

2014-02-25 Thread silvioprog
2014-02-25 13:32 GMT-03:00 Giuseppe : > El 24/02/2014 20:46, silvioprog escribió: > > 2014-02-23 17:09 GMT-03:00 Giuseppe : > [...] > >> Well, mainly my web development projects are based on corporative >> websites or eCommerce, not custom-made implementations. Here a CMS is the >> best option.

Re: [Lazarus] Lazarus/FPC for Web Development only

2014-02-25 Thread Giuseppe
El 24/02/2014 20:46, silvioprog escribió: 2014-02-23 17:09 GMT-03:00 Giuseppe >: [...] Well, mainly my web development projects are based on corporative websites or eCommerce, not custom-made implementations. Here a CMS is the best option. Now I want to buil

Re: [Lazarus] TRTLCriticalSection

2014-02-25 Thread patspiper
On 25/02/14 13:57, Mattias Gaertner wrote: On Tue, 25 Feb 2014 13:22:41 +0200 patspiper wrote: [...] LCLIntf's (winapi.h) EnterCriticalsection(TCriticalSection) always takes precedence in compilation although codetools show it defined in threadh.inc: EnterCriticalsection(TRTLCriticalSection).

Re: [Lazarus] TRTLCriticalSection

2014-02-25 Thread Mattias Gaertner
On Tue, 25 Feb 2014 12:46:43 +0100 Sven Barth wrote: > Am 25.02.2014 12:14, schrieb Antonio Fortuny: > > > > Le 25/02/2014 12:04, Sven Barth a écrit : > >> Am 25.02.2014 11:22, schrieb Antonio Fortuny: > >>> Some help would be appreciated. > >> The function for initializing a TRTLCriticalSection

Re: [Lazarus] TRTLCriticalSection

2014-02-25 Thread Antonio Fortuny
Now I get it working on both platforms. Use InitCriticalSection and DoneCriticalsection (thanks Mattias) Using system.EnterCriticalSection and system.LeaveCriticalSection solves all the compilation problems and runs (thanks all) Thanks again Antonio. --- Ce courrier électronique ne contient

Re: [Lazarus] TRTLCriticalSection

2014-02-25 Thread Mattias Gaertner
On Tue, 25 Feb 2014 13:22:41 +0200 patspiper wrote: >[...] > LCLIntf's (winapi.h) EnterCriticalsection(TCriticalSection) always takes > precedence in compilation although codetools show it defined in > threadh.inc: EnterCriticalsection(TRTLCriticalSection). I added overload to LCL Enter/LeaveC

Re: [Lazarus] TRTLCriticalSection

2014-02-25 Thread Mattias Gaertner
On Tue, 25 Feb 2014 13:22:41 +0200 patspiper wrote: >[...] > LCLIntf's (winapi.h) EnterCriticalsection(TCriticalSection) always takes > precedence in compilation although codetools show it defined in > threadh.inc: EnterCriticalsection(TRTLCriticalSection). The compiler is very strict and requ

Re: [Lazarus] TRTLCriticalSection

2014-02-25 Thread Sven Barth
Am 25.02.2014 12:14, schrieb Antonio Fortuny: Le 25/02/2014 12:04, Sven Barth a écrit : Am 25.02.2014 11:22, schrieb Antonio Fortuny: Some help would be appreciated. The function for initializing a TRTLCriticalSection is InitCriticalSection, not InitializeCriticalSection. If you wouldn't use

Re: [Lazarus] TRTLCriticalSection

2014-02-25 Thread patspiper
On 25/02/14 12:56, Mattias Gaertner wrote: On Tue, 25 Feb 2014 11:22:57 +0100 Antonio Fortuny wrote: [...] FIniCriticalSection: TRTLCriticalSection; ... InitializeCriticalSection(FIniCriticalSection); <- compilation error A TRTLCriticalSection is initialized

Re: [Lazarus] TRTLCriticalSection

2014-02-25 Thread Antonio Fortuny
Le 25/02/2014 12:04, Sven Barth a écrit : Am 25.02.2014 11:22, schrieb Antonio Fortuny: Hi Folks. Lazarus 1.0.2, FPC 2.6.2, Win32 and Linux x86_64 Something goes wrong with TRTRCriticalSection. There is a difference between Windows and Linux. In a program which will run on Win32 and Linux x86

Re: [Lazarus] TRTLCriticalSection

2014-02-25 Thread Michael Van Canneyt
On Tue, 25 Feb 2014, Sven Barth wrote: Am 25.02.2014 11:22, schrieb Antonio Fortuny: Hi Folks. Lazarus 1.0.2, FPC 2.6.2, Win32 and Linux x86_64 Something goes wrong with TRTRCriticalSection. There is a difference between Windows and Linux. In a program which wil

Re: [Lazarus] TRTLCriticalSection

2014-02-25 Thread Sven Barth
Am 25.02.2014 11:22, schrieb Antonio Fortuny: Hi Folks. Lazarus 1.0.2, FPC 2.6.2, Win32 and Linux x86_64 Something goes wrong with TRTRCriticalSection. There is a difference between Windows and Linux. In a program which will run on Win32 and Linux x86_64, using threads and all this stuff I nee

Re: [Lazarus] TRTLCriticalSection

2014-02-25 Thread Mattias Gaertner
On Tue, 25 Feb 2014 11:22:57 +0100 Antonio Fortuny wrote: >[...] > FIniCriticalSection: TRTLCriticalSection; > ... > InitializeCriticalSection(FIniCriticalSection); <- > compilation error A TRTLCriticalSection is initialized with InitCriticalSection from the syst

Re: [Lazarus] TRTLCriticalSection

2014-02-25 Thread patspiper
On 25/02/14 12:22, Antonio Fortuny wrote: Hi Folks. Lazarus 1.0.2, FPC 2.6.2, Win32 and Linux x86_64 That's an old Lazarus version. Did you test with the most recent one? Something goes wrong with TRTRCriticalSection. There is a difference between Windows and Linux. In a program which will r

[Lazarus] TRTLCriticalSection

2014-02-25 Thread Antonio Fortuny
Hi Folks. Lazarus 1.0.2, FPC 2.6.2, Win32 and Linux x86_64 Something goes wrong with TRTRCriticalSection. There is a difference between Windows and Linux. In a program which will run on Win32 and Linux x86_64, using threads and all this stuff I need to protect some code from multi-threading acces

Re: [Lazarus] ./fpcup_linux_x64 won't create lazarus executable

2014-02-25 Thread Reinier Olislagers
On 24/02/2014 23:52, Allan E. Registos wrote: > Anybody who is using fpcup on Ubuntu 12.04 64-bit? > Tried installing lazarus through fpcup, it seems the fpcup installer is > successful. While it manage to create a lazarus_fpcup shortcut at the > desktop, it did not create the lazarus executable in