Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.visual.misc > #2174

Re: StrConv(ByteArray, vbUnicode) raising an "Out of memory" error

From Deanna Earley <dee.earley@icode.co.uk>
Newsgroups microsoft.public.vb.general.discussion, comp.lang.basic.visual.misc
Subject Re: StrConv(ByteArray, vbUnicode) raising an "Out of memory" error
Date 2014-10-23 14:28 +0100
Organization Aioe.org NNTP Server
Message-ID <m2avr2$bhv$1@speranza.aioe.org> (permalink)
References <m2aelp$t5s$1@speranza.aioe.org> <20141023103947.00003561@eternal-september.org> <m2amal$ij4$1@speranza.aioe.org> <20141023150941.00007a5e@eternal-september.org>

Cross-posted to 2 groups.

Show all headers | View raw


On 23/10/2014 14:09, Arne Saknussemm wrote:
> :: On Thu, 23 Oct 2014 11:46:16 +0100
> :: (microsoft.public.vb.general.discussion,comp.lang.basic.visual.misc)
> :: <m2amal$ij4$1@speranza.aioe.org>
> :: Deanna Earley <dee.earley@icode.co.uk> wrote:
>
>> A 0 length array has bounds of 0 to -1 (as 0 to 0 is 1 item).
>> You can easily create a 0 length byte array by assigning an empty
>> string to it.
>
> Hey !! Stop biting, I was just trying to make a guess :) !
>
>> That is a possibility though, but begs the question of has this
>> changed? I still swear this used to work...
>
> I don't know; but then, why don't you write your own "ConvStr" function
> with error trapping and all that and use find/replace to use it in
> place of the vanilla one :) ?

I can do, it was more annoyance that it's only recently started 
happening, and the same code has been in use for years, and now, 
suddenly, I'm getting tens of errors a day.
As far as I can tell, the source data is the same as it's always been...

Oh well :)

-- 
Deanna Earley (dee.earley@icode.co.uk)
iCatcher Development Team
http://www.icode.co.uk/icatcher/

iCode Systems

(Replies direct to my email address will be printed, shredded then fed 
to the rats. Please reply to the group.)

Back to comp.lang.basic.visual.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

StrConv(ByteArray, vbUnicode) raising an "Out of memory" error Deanna Earley <dee.earley@icode.co.uk> - 2014-10-23 09:35 +0100
  Re: StrConv(ByteArray, vbUnicode) raising an "Out of memory" error Arne Saknussemm <motz001.20.wannabet@spamgourmet.com> - 2014-10-23 10:39 +0200
    Re: StrConv(ByteArray, vbUnicode) raising an "Out of memory" error Deanna Earley <dee.earley@icode.co.uk> - 2014-10-23 11:46 +0100
      Re: StrConv(ByteArray, vbUnicode) raising an "Out of memory" error Arne Saknussemm <es215.10.wannabet@spamgourmet.com> - 2014-10-23 15:09 +0200
        Re: StrConv(ByteArray, vbUnicode) raising an "Out of memory" error Deanna Earley <dee.earley@icode.co.uk> - 2014-10-23 14:28 +0100
  Re: StrConv(ByteArray, vbUnicode) raising an "Out of memory" error "Farnsworth" <nospam@nospam.com> - 2014-10-23 08:04 -0400
    Re: StrConv(ByteArray, vbUnicode) raising an "Out of memory" error "Farnsworth" <nospam@nospam.com> - 2014-10-23 08:35 -0400
  Re: StrConv(ByteArray, vbUnicode) raising an "Out of memory" error "Farnsworth" <nospam@nospam.com> - 2014-10-23 11:48 -0400
    Re: StrConv(ByteArray, vbUnicode) raising an "Out of memory" error Deanna Earley <dee.earley@icode.co.uk> - 2014-10-24 09:47 +0100
  Re: StrConv(ByteArray, vbUnicode) raising an "Out of memory" error Deanna Earley <dee.earley@icode.co.uk> - 2014-10-24 14:47 +0100
    Re: StrConv(ByteArray, vbUnicode) raising an "Out of memory" error Arne Saknussemm <es215.10.wannabet@spamgourmet.com> - 2014-10-27 12:32 +0100
      Re: StrConv(ByteArray, vbUnicode) raising an "Out of memory" error Deanna Earley <dee.earley@icode.co.uk> - 2014-10-27 12:14 +0000
        Re: StrConv(ByteArray, vbUnicode) raising an "Out of memory" error Arne Saknussemm <motz001.20.wannabet@spamgourmet.com> - 2014-10-28 11:22 +0100
    Re: StrConv(ByteArray, vbUnicode) raising an "Out of memory" error "Blue Planet" <sorry@nospamme.org> - 2014-10-27 12:11 -0400
      Re: StrConv(ByteArray, vbUnicode) raising an "Out of memory" error Deanna Earley <dee.earley@icode.co.uk> - 2014-10-27 16:26 +0000

csiph-web