Re: [fpc-pascal] Is System.IOResult thread-safe? (If not, I need to replace it.)

2010-11-19 Thread Vinzent Höfler
On Fri, 19 Nov 2010 23:02:11 +0100, Cox, Stuart TRAN:EX wrote: I think the easiest way to get cross-platform lockfile behaviour, is to a) create the lockfile at the start of your program (e.g., a rewrite followed by a close) b) whenever you want to lock it, use systutils.fileopen(lockfilenam

[fpc-pascal] Initialize/Finalize with count, is it possible?

2010-11-19 Thread Max Vlasov
Hi, I just noticed that fpc when compiling in lazarus didn't allow me to use Initialize/Finalize with the parameter showing the number of records to initialize. Interesting, but I have a huge number of delphi sources using this syntax, something like FillChar(Section^, Count*ElementSize,

Re: [fpc-pascal] More Win CE

2010-11-19 Thread Zaher Dirkey
On Wed, Nov 17, 2010 at 10:54 AM, Sven Barth wrote: > > For me Windows Mobile is THE free mobile OS on the market. I can write > applications in any language I want (which supports Windows Mobile...), I > can play around in the OS as I want it. I can basically do anything with > that Phone that is

RE: [fpc-pascal] Is System.IOResult thread-safe? (If not, I need to replace it.)

2010-11-19 Thread Cox, Stuart TRAN:EX
Thanks for this example, Jonas. Stu Cox On 10 Nov 2010, at 13:26, MegaBrutal wrote: > I'm new on the list. I have a problem. I've been trying to make my > application thread-safe by using lockfiles. I used System.Rewrite to > lock the file, and System.IOResult to check the result. But I've > enc

Re: [fpc-pascal] More Win CE

2010-11-19 Thread And3mD
Dnia 19-11-2010 o 14:24:26 Sven Barth napisał(a): Am 19.11.2010 10:13, schrieb Florian Klaempfl: Am 17.11.2010 16:26, schrieb Felipe Monteiro de Carvalho: On Wed, Nov 17, 2010 at 12:11 PM, Matt Emson wrote: There is little chance that will happen as it assumes Nokia will focus on Meego...

Re: [fpc-pascal] More Win CE

2010-11-19 Thread Sven Barth
Am 19.11.2010 10:13, schrieb Florian Klaempfl: Am 17.11.2010 16:26, schrieb Felipe Monteiro de Carvalho: On Wed, Nov 17, 2010 at 12:11 PM, Matt Emson wrote: There is little chance that will happen as it assumes Nokia will focus on Meego... Nokia can't focus on a blade of grass on a sunny day

Re: [fpc-pascal] More Win CE

2010-11-19 Thread Florian Klaempfl
Am 17.11.2010 16:26, schrieb Felipe Monteiro de Carvalho: > On Wed, Nov 17, 2010 at 12:11 PM, Matt Emson > wrote: >> There is little chance that will happen as it assumes Nokia will focus on >> Meego... Nokia can't focus on a blade of grass on a sunny day - they will >> carry on as is IMO and be s