Re: [fpc-pascal] File region locking unde Linux

2009-05-03 Thread Jonas Maebe
On 03 May 2009, at 14:51, Jonas Maebe wrote: On 03 May 2009, at 14:09, ajv wrote: With Region Do Begin l_type := F_WRLCK; l_whence := SEEK_SET; l_start := 10; l_len:= 20 End; If FpFcntl (F, F_SETLK, Region) = -1 Then WriteLn ('unable to apply writelock'

Re: [fpc-pascal] Apache Modules without LResources

2009-05-03 Thread Zaher Dirkey
I Agree with Giovanni, in next my project i like to use only FPC to create Apache module. -- Zaher Dirkey ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] File region locking unde Linux

2009-05-03 Thread Jonas Maebe
On 03 May 2009, at 14:09, ajv wrote: With Region Do Begin l_type := F_WRLCK; l_whence := SEEK_SET; l_start := 10; l_len:= 20 End; If FpFcntl (F, F_SETLK, Region) = -1 Then WriteLn ('unable to apply writelock'); // <-- OK Sleep (2);

Re: [fpc-pascal] Help with the IDE

2009-05-03 Thread Martin Schreiber
On Sunday 03 May 2009 13:08:33 simionescu.mi...@gmail.com wrote: > Is there a more friendly IDE ?(Lazarus excluded) MSEide. http://sourceforge.net/projects/mseide-msegui Martin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.f

[fpc-pascal] File region locking unde Linux

2009-05-03 Thread ajv
I have a problem with file region locking under Linux. First I start setup to create a file and writelock range 10..30 -- program setup; {$mode delphi}{$H+} Usescthreads, Classes, SysUtils, BaseUnix; Const Fn = '/home/anthon

Re: [fpc-pascal] Help with the IDE

2009-05-03 Thread fpclist
If you're looking for a GUI IDE, try the Lazarus IDE. I use FPC extensively to code Linux libs and console applications. I use Lazarus as my editor/IDE, it has all I need and more. Give it a try. http://www.lazarus.freepaascal.org Nino //** On S

[fpc-pascal] Dependencies of FPC_HAS_FEATURE_XXX

2009-05-03 Thread Sven Barth
Hello again! I found the next ones: the threading feature depends on exceptions (InitStdExceptions) and I/O (InitStdIO) (both not easy to implement). Also it uses CheckInitialStkLength. The declaration of this function is enclosed by FPC_HAS_FEATURE_STACKCHECK, so the call should be enclosed,

[fpc-pascal] Help with the IDE

2009-05-03 Thread simionescu.mi...@gmail.com
Hello and good day, As a pascal programmer, I used many years Borland Pascal 7.01. To escape the 16 bit limitations, I've migrated to Virtual Pascal 2.1 The IDE is very similar between them, VP obviously is more user friendly. The look & feel of the IDE was the major factor wich keeped me far