Jonas Maebe-2 wrote:
But that won't help you in this case, because settextbuf does not
change the flushing behaviour when writing to the screen. For that,
you have to follow Tomas' advice.
Done, but I still demand it to be in System unit. That way, no additional
unit is needed. Does
On 23 Jul 2008, at 06:32, Marc Santhoff wrote:
I understand right that (as I have asked before) an empty (ansi)string
is equal to NIL.
True.
If this is correct, is setting a string to '' the same as setting the
string to NIL?
No.
So i can e.g. use exchagably:
{$H+}
var
s: string;
Hello Mattias,
Next backtrace:
Compiling ./unit/ResConf.pas
Assembling resconf
An unhandled exception occurred at $00148A20 :
Breakpoint 1, 0x00018100 in fpc_raiseexception ()
(gdb) bt
#0 0x00018100 in fpc_raiseexception ()
#1 0x0010dde4 in TOUTPUTFILTER__EXECUTE (THEPROCESS=0x2700a20,
Hi,
I have a function called fpgOpenURL(...) which contains the following
if fpsystem('which xdg-open') = 0 then
Helper := 'xdg-open'
else if fpsystem('which firefox') = 0 then
Helper := 'firefox';
else if fpsystem('which konqueror') = 0 then
Helper :=
Sorry, I meant catching fpSystem() output...
On Wed, Jul 23, 2008 at 2:40 PM, Graeme Geldenhuys
[EMAIL PROTECTED] wrote:
Hi,
I have a function called fpgOpenURL(...) which contains the following
if fpsystem('which xdg-open') = 0 then
Helper := 'xdg-open'
else if
You should use pipes rather then fpSystem for that.
Ido
On Wed, Jul 23, 2008 at 3:44 PM, Graeme Geldenhuys
[EMAIL PROTECTED] wrote:
Sorry, I meant catching fpSystem() output...
On Wed, Jul 23, 2008 at 2:40 PM, Graeme Geldenhuys
[EMAIL PROTECTED] wrote:
Hi,
I have a function called
Zitat von Roland Turcan [EMAIL PROTECTED]:
Hello Mattias,
Next backtrace:
Compiling ./unit/ResConf.pas
Assembling resconf
An unhandled exception occurred at $00148A20 :
Breakpoint 1, 0x00018100 in fpc_raiseexception ()
(gdb) bt
#0 0x00018100 in fpc_raiseexception ()
#1 0x0010dde4 in
Zitat von Roland Turcan [EMAIL PROTECTED]:
Hello Mattias,
Next backtrace:
Compiling ./unit/ResConf.pas
Assembling resconf
An unhandled exception occurred at $00148A20 :
Breakpoint 1, 0x00018100 in fpc_raiseexception ()
(gdb) bt
#0 0x00018100 in fpc_raiseexception ()
#1 0x0010dde4 in
Am Mittwoch, den 23.07.2008, 08:28 +0100 schrieb Jonas Maebe:
On 23 Jul 2008, at 06:32, Marc Santhoff wrote:
I understand right that (as I have asked before) an empty (ansi)string
is equal to NIL.
True.
If this is correct, is setting a string to '' the same as setting the
string to
Am Mittwoch, den 23.07.2008, 14:40 +0200 schrieb Graeme Geldenhuys:
Hi,
I have a function called fpgOpenURL(...) which contains the following
if fpsystem('which xdg-open') = 0 then
Helper := 'xdg-open'
else if fpsystem('which firefox') = 0 then
Helper :=
El Wed, 23 Jul 2008 17:15:13 +0200
Marc Santhoff [EMAIL PROTECTED] escribió:
That's the important part, I'm dealing with cleanly freeing strings
when destroying objects.
I may be wrong but I think you don't need to do anything, when you free
a class the memory used by string fields is
On Wed, 23 Jul 2008 19:21:00 +0200
Luca Olivetti [EMAIL PROTECTED] wrote:
El Wed, 23 Jul 2008 17:15:13 +0200
Marc Santhoff [EMAIL PROTECTED] escribió:
That's the important part, I'm dealing with cleanly freeing strings
when destroying objects.
I may be wrong but I think you don't need
Luca Olivetti wrote:
El Wed, 23 Jul 2008 17:15:13 +0200
Marc Santhoff [EMAIL PROTECTED] escribió:
That's the important part, I'm dealing with cleanly freeing strings
when destroying objects.
I may be wrong but I think you don't need to do anything, when you free
a class the memory used by
En/na Mattias Gaertner ha escrit:
[*]though I know of at least a nasty leak with gtk2 under lazarus that
heaptrc didn't trace.
Which one?
http://bugs.freepascal.org/view.php?id=9259
(I just noticed you fixed it, but heaptrc didn't report anything when I
first discovered it).
Bye
--
Luca
On Wed, 23 Jul 2008 22:54:08 +0200
Luca Olivetti [EMAIL PROTECTED] wrote:
En/na Mattias Gaertner ha escrit:
[*]though I know of at least a nasty leak with gtk2 under lazarus
that heaptrc didn't trace.
Which one?
http://bugs.freepascal.org/view.php?id=9259
(I just noticed you fixed
Could also use popen.
Sent from my iPhone
On Jul 23, 2008, at 11:11, Marc Santhoff [EMAIL PROTECTED] wrote:
Am Mittwoch, den 23.07.2008, 14:40 +0200 schrieb Graeme Geldenhuys:
Hi,
I have a function called fpgOpenURL(...) which contains the
following
if fpsystem('which
On Wednesday 23 July 2008 7:46 pm, Marc Santhoff wrote:
That's interesting and nice. Can I assume the same is valid for dyn
arrays in a procedure or function context?
The short answer is yes.
There was recently (about a month ago) a discussion about some of these
very issues, from 21 to 29
17 matches
Mail list logo