Subject | Re: [IBO] How to stop multi language error messages? |
---|---|
Author | Arno Garrels |
Post date | 2002-11-28T17:52:32Z |
Paul,
strings across threads will cause memory leaks. I guess this has been fixed
in D5.
regards
Arno Garrels
>OrIt seems that I must think to that direction and invest some more time.
> breaking up long strings into several short strings so that the
> receiving thread can concatenate them again?
> Threads are not exactly my strong pointIt's not my strong side as well, but what I know is that sharing ansi
strings across threads will cause memory leaks. I guess this has been fixed
in D5.
regards
Arno Garrels
----- Original Message -----
From: "Paul Vinkenoog" <paulvink@...>
To: <IBObjects@yahoogroups.com>
Sent: Thursday, November 28, 2002 5:25 PM
Subject: Re: [IBO] How to stop multi language error messages?
> Hi Arno,
>
> > What do you think about just passing the first line of an error
> > message to the user, would it always give a unique hint of what went
> > wrong?
>
> Most of the time - at least if the message comes from the FB engine -
> the first few lines tell you that something didn't work, and what the
> ISC error code is (if any). The error code means nothing to the
> average user, but you, the developer, can look up what it means. But
> even then, you might miss some information (e.g. from the OS) that
> could drastically narrow down the search.
>
> > I'm using D4 and therefor I cannot pass/share long strings across
> > threads.
>
> Threads are not exactly my strong point, and I don't know D4. Is there
> a 255-byte limit for cross-thread strings? And how about pointers? Or
> breaking up long strings into several short strings so that the
> receiving thread can concatenate them again?
>
>
> Greetings,
> Paul Vinkenoog
>
>
>
>
___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or
InterBase
> without the need for BDE, ODBC or any other layer.
>
___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info
papers,
> keyword-searchable FAQ, community code contributions and more !
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>