[moved the conversation from Lazarus mailing list]
On Wed, Mar 18, 2009 at 7:29 PM, Bart wrote:
>
> Yes, i see. I have those files on Suse too.
> Not sure what package is responsible.
> An rpm -q locale (or locales) reveals nothing.
I'm pretty sure rpm must have a way to query it by giv
Thank you all for the useful info. In view of aforesaid named objects seem to be
the simplest and the most reliable way to pevent running multiple instances af
an application under Win32/
--
Best regards,
Fantomas
___
fpc-pascal maillist - fpc-pascal
A "fillword" procedure does not exist.
It seems I was wrong about this. A "fillword" procedure DOES exist. I
just discovered this myself. But then the range (size of variable) you
want to fill has to be an even number of bytes. In general this may not
be guaranteed.
Jürgen Hestermann.
_
In our previous episode, J?rgen Hestermann said:
> >> FillChar(Values,SizeOf(Values),0)
> > That worked.
> > However, for an integer is fillword better?
>
> A "fillword" procedure does not exist.
http://www.freepascal.org/docs-html/rtl/system/fillbyte.html
http://www.freepascal.org/docs-html/rtl/
On Wed, Mar 18, 2009 at 10:50 PM, Krishna wrote:
> On Wed, Mar 18, 2009 at 9:04 PM, Marco van de Voort wrote:
>> In our previous episode, Krishna said:
>>> >
>>> > I'm new to fpc and pascal, i.e. I've never done a project in it, but
>>> > i've been following the lists for a while and dabbling.
>>
FillChar(Values,SizeOf(Values),0)
That worked.
However, for an integer is fillword better?
A "fillword" procedure does not exist. FillChar is an anchient Pascal
function to simply fill any arbitrary memory location of any size
(determined by a variable) with all the same byte. It is very f
On Wed, Mar 18, 2009 at 9:04 PM, Marco van de Voort wrote:
> In our previous episode, Krishna said:
>> >
>> > I'm new to fpc and pascal, i.e. I've never done a project in it, but
>> > i've been following the lists for a while and dabbling.
>> >
>> > I like using a garbage collector and I know you
Hi Adrian,
Guilty!
bd.
On Wed, 2009-03-18 at 17:03 +0100, Adrian Veith wrote:
> ritchie turner schrieb:
> > Thanks all, I've got something to go on now.
> >
> > bd.
> >
> bye the way - are you black dog from the haxe list ?
>
> Cheers,
>
> Adrian.
> ___
ritchie turner schrieb:
> Thanks all, I've got something to go on now.
>
> bd.
>
bye the way - are you black dog from the haxe list ?
Cheers,
Adrian.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/lis
ritchie turner schrieb:
> I'm new to fpc and pascal, i.e. I've never done a project in it, but
> i've been following the lists for a while and dabbling.
>
> I like using a garbage collector and I know you can replace the memory
> manager in fpc so i guess it's probably trivial to replace the stand
Thanks all, I've got something to go on now.
bd.
On Wed, 2009-03-18 at 16:34 +0100, Marco van de Voort wrote:
> In our previous episode, Krishna said:
> > >
> > > I'm new to fpc and pascal, i.e. I've never done a project in it, but
> > > i've been following the lists for a while and dabbling.
>
In our previous episode, Krishna said:
> >
> > I'm new to fpc and pascal, i.e. I've never done a project in it, but
> > i've been following the lists for a while and dabbling.
> >
> > I like using a garbage collector and I know you can replace the memory
> > manager in fpc so i guess it's probably
On Wed, Mar 18, 2009 at 7:07 PM, ritchie turner
wrote:
>
> I'm new to fpc and pascal, i.e. I've never done a project in it, but
> i've been following the lists for a while and dabbling.
>
> I like using a garbage collector and I know you can replace the memory
> manager in fpc so i guess it's prob
In our previous episode, ritchie turner said:
>
> I'm new to fpc and pascal, i.e. I've never done a project in it, but
> i've been following the lists for a while and dabbling.
>
> I like using a garbage collector and I know you can replace the memory
> manager in fpc so i guess it's probably tri
En/na leledumbo ha escrit:
Is it the same technique used by
http://wiki.lazarus.freepascal.org/UniqueInstance UniqueInstance ?
No, UniqueInstance uses an IpcServer/IpcClient, so it is cross-platform.
Bye
--
Luca
___
fpc-pascal maillist - fpc-pasc
I know it has limitations and downsides but I have to respectfully
disagree it's the worst programming idea ever. For the stuff I do which
is high level applications I don't believe it's going to affect me
badly; If i were writing codecs or an operating system then i would find
it hard to justify
Adriaan van Os wrote on wo, 18 mrt 2009:
The main issue is that garbage collection is the worst programming idea
ever. It lets you get away with bad program design at the cost of slow
execution.
Please post remarks like that to the fpc-other list instead. This list
is not about advocacy, but
ritchie turner wrote:
I'm new to fpc and pascal, i.e. I've never done a project in it, but
i've been following the lists for a while and dabbling.
I like using a garbage collector and I know you can replace the memory
manager in fpc so i guess it's probably trivial to replace the standard
with b
I'm new to fpc and pascal, i.e. I've never done a project in it, but
i've been following the lists for a while and dabbling.
I like using a garbage collector and I know you can replace the memory
manager in fpc so i guess it's probably trivial to replace the standard
with boehm. Wondered if anyon
Fantomas writes:
As far as I know, global variables are initialised with zeros when an
application starts.
Gives a warning when I don't initialize it.
split.pas(31,55) Warning: Variable "Values" does not seem to be initialized
FillChar(Values,SizeOf(Values),0)
That worked.
However, for
Is it the same technique used by
http://wiki.lazarus.freepascal.org/UniqueInstance UniqueInstance ?
--
View this message in context:
http://www.nabble.com/Windows-find-out-if-an-application-already-is-running-tp22526930p22577639.html
Sent from the Free Pascal - General mailing list archive at
Fantomas wrote:
Hello, Rainer!
Sunday, March 15, 2009, 10:22:04 PM, you wrote:
I tried system.hprevinst, but this shows always 0.
If there are more copys of the program then hinstance is always the same
value.
hPrevInst does not work under Win32. It is only for Win16, AFAIK. Use a named
m
22 matches
Mail list logo