L505 wrote:
| Note that this is not allowed on Windows XP if your application is in
| the Program Files directory. Applications are not allowed or should not
| write to their application directory due to security restrictions.
|
| --
| Sly
Really? So MS encourages you to write everything to the
| C:\Documents and Settings\\Application Data\\
|
| Or sometimes, if the installer is set up for it:
|
| C:\Documents and Settings\All Users\Application Data\\
Yuck, and since there is no "documents and settings" directory on Linux, it's
not a cross platform way of building apps. Of course, you'v
L505 wrote:
| Note that this is not allowed on Windows XP if your application is in
| the Program Files directory. Applications are not allowed or should not
| write to their application directory due to security restrictions.
|
| --
| Sly
Really? So MS encourages you to write everything to th
| Note that this is not allowed on Windows XP if your application is in
| the Program Files directory. Applications are not allowed or should not
| write to their application directory due to security restrictions.
|
| --
| Sly
Really? So MS encourages you to write everything to the main drive:\
Michael Van Canneyt wrote:
Len:=0;
For I:=X to Y do
Inc(Len,Length(L[i])); // S string, L list.
SetLength(S,Len);
P:=1;
For I:=X to Y do
begin
T:=L[i];
Len:=Length(T);
Move(T[1],S[P],Len);
inc(P,Len)
end;
This is the behavior you get using TStrings.Text
Pianoman wrote:
Hi everyone, I have one question: Is it possible to link a
Routine from DLL to my exe directly. Point is that I don't want distribute
other files with the program and it would be nice to have only one
executable nothing more.
I use Bass audio library for playback and I
Am Dienstag, den 21.06.2005, 21:19 +0200 schrieb Leonhard Holz:
> Hi,
Hi Leo,
> >
> > if (sl[4] <> '') then
> > if ((sl[4][1] = '"') AND (sl[4][length(sl[4])] = '"'))
> > then BaseColor := copy(sl[4],2,length(sl[4])-2) else
> > BaseColor :=
> > sl[4];
>
> You ca
Hi,
if (sl[4] <> '') then
if ((sl[4][1] = '"') AND (sl[4][length(sl[4])] = '"'))
then BaseColor := copy(sl[4],2,length(sl[4])-2) else
BaseColor :=
sl[4];
You can tweak this a little by storing sl[4] and length(sl[4]) in local
vars, but the whole appro
On Tue, 21 Jun 2005, Darius Blaszijk wrote:
> Hi,
>
> I have an app that checks several files continuously and when the fileage
> has changed the app performs some instructions. I have put the checks in a
> loop. The drawback is that the processor is now 100% loaded. I could use the
> FindFirst
Am Dienstag, den 21.06.2005, 19:46 +0200 schrieb Michael Van Canneyt:
>
> On Tue, 21 Jun 2005, Marc Santhoff wrote:
>
> > Hi,
> >
> > in an application of mine occurs a lot of string separation and
> > re-concatenation. Since it is using masses of ANSI strings this is some
> > performance proble
>
> So in general reserving buffer space and copying all string in and
> finally setting the length would be the way to go here, if I understand
> correctly.
Yes, and avoid repeated use of stringlist[x]. First assign to a local var,
then use for length() and normal use, as Michael already noted.
Am Dienstag, den 21.06.2005, 19:21 +0200 schrieb Marco van de Voort:
> > in an application of mine occurs a lot of string separation and
> > re-concatenation. Since it is using masses of ANSI strings this is some
> > performance problem.
> >
> > The strings get stored and loaded from TStringList'
perhaps create a thread for your file checking code, and Sleep(xx)
regularly to release the processor ?
Darius Blaszijk wrote:
Hi,
I have an app that checks several files continuously and when the fileage
has changed the app performs some instructions. I have put the checks in a
loop. The draw
Hi,
I have an app that checks several files continuously and when the fileage
has changed the app performs some instructions. I have put the checks in a
loop. The drawback is that the processor is now 100% loaded. I could use the
FindFirstChangeNotification API on windows. But is there a crossplat
On Tue, 21 Jun 2005, Marc Santhoff wrote:
> Hi,
>
> in an application of mine occurs a lot of string separation and
> re-concatenation. Since it is using masses of ANSI strings this is some
> performance problem.
>
> The strings get stored and loaded from TStringList's and concatenated
> by s
> in an application of mine occurs a lot of string separation and
> re-concatenation. Since it is using masses of ANSI strings this is some
> performance problem.
>
> The strings get stored and loaded from TStringList's and concatenated
> by simply using '+' and separated with the function copy()
Hi,
in an application of mine occurs a lot of string separation and
re-concatenation. Since it is using masses of ANSI strings this is some
performance problem.
The strings get stored and loaded from TStringList's and concatenated
by simply using '+' and separated with the function copy().
What
On 21 jun 2005, at 16:36, Pianoman wrote:
Hi everyone, I have one question: Is it possible to link a
Routine from DLL to my exe directly. Point is that I don't want
distribute
other files with the program and it would be nice to have only one
executable nothing more.
I use Bass a
Hi everyone, I have one question: Is it possible to link a
Routine from DLL to my exe directly. Point is that I don't want distribute
other files with the program and it would be nice to have only one
executable nothing more.
I use Bass audio library for playback and I am interested if
Are looking for an optimized way to display a full directory of log files onto a
web page?
- Original Message -
From: "Paul Aviles" <[EMAIL PROTECTED]>
To:
Sent: Monday, June 20, 2005 7:56 PM
Subject: [fpc-pascal] Small project $
| Basically a way to enable a web version of tail -f for
Am Montag, den 20.06.2005, 17:19 +0200 schrieb Eduardo:
[...]
> Are you using any dll or lib.so :? Perhaps the external code is compiled
> for a specific processor.
This in fact seems to be tha cause. The error happens inside the GTK
library which i'll try to recompile and check again.
Thanks to
21 matches
Mail list logo