Alaska Software Inc. - Strange behaviour len
Username: Password:
AuthorTopic: Strange behaviour len
Dirk Visser RIStrange behaviour len
on Thu, 25 Nov 2010 12:45:59 +0100
Dear all,

I had a problem with sending e-mails from my program and analysis of the 
problem lead me to the result of len to be zero while the string is much 
longer than that. Strange also that when I do the same in de debugger the 
result of len is alright and also can see that the string is not empty.

The strange thing is also that I have this with one customer of me and not 
with others.

Does this ring a bell somewhere what the cause of this could be ??

Dirk Visser
Director VigilantDMS
Carlos a Beling Re: Strange behaviour len
on Thu, 25 Nov 2010 09:56:11 -0200
Hello Dirk.
Good morning.
Does the string have character(s) < Space(01)/

Beling
HTH

Em 25/11/2010 09:45, Dirk Visser RI escreveu:
> Dear all,
>
> I had a problem with sending e-mails from my program and analysis of the
> problem lead me to the result of len to be zero while the string is much
> longer than that. Strange also that when I do the same in de debugger the
> result of len is alright and also can see that the string is not empty.
>
> The strange thing is also that I have this with one customer of me and not
> with others.
>
> Does this ring a bell somewhere what the cause of this could be ??
>
> Dirk Visser
> Director VigilantDMS
>
>
Dirk Visser RIRe: Strange behaviour len
on Thu, 25 Nov 2010 17:25:13 +0100
Carlos,

In this case it is a normal text string with lines of text, nothing special 
as I can see. In those cases that it works I see a lengte of 15.989 bytes.

Dirk
"Carlos a Beling" <beling@bipbip.com.br> schreef in bericht 
news:67820cd3$17f99ce$1aa39@news.alaska-software.com...
> Hello Dirk.
> Good morning.
> Does the string have character(s) < Space(01)/
>
> Beling
> HTH
>
> Em 25/11/2010 09:45, Dirk Visser RI escreveu:
>> Dear all,
>>
>> I had a problem with sending e-mails from my program and analysis of the
>> problem lead me to the result of len to be zero while the string is much
>> longer than that. Strange also that when I do the same in de debugger the
>> result of len is alright and also can see that the string is not empty.
>>
>> The strange thing is also that I have this with one customer of me and 
>> not
>> with others.
>>
>> Does this ring a bell somewhere what the cause of this could be ??
>>
>> Dirk Visser
>> Director VigilantDMS
>>
>>
Carlos a Beling Re: Strange behaviour len
on Thu, 25 Nov 2010 14:59:24 -0200
Hello Dirk:
good afternoon.
Save the string in the HD (FOpen(), FWrite(), FClose() an edit the saved 
file with a hex editor. Save the file with the  correct size and with 
the wrong sizes and thereafter edit they with an hex editor and I hope 
that you find out then problem.

Beling
Cheers

Em 25/11/2010 14:25, Dirk Visser RI escreveu:
> Carlos,
>
> In this case it is a normal text string with lines of text, nothing special
> as I can see. In those cases that it works I see a lengte of 15.989 bytes.
>
> Dirk
> "Carlos a Beling"<beling@bipbip.com.br>  schreef in bericht
> news:67820cd3$17f99ce$1aa39@news.alaska-software.com...
>> Hello Dirk.
>> Good morning.
>> Does the string have character(s)<  Space(01)/
>>
>> Beling
>> HTH
>>
>> Em 25/11/2010 09:45, Dirk Visser RI escreveu:
>>> Dear all,
>>>
>>> I had a problem with sending e-mails from my program and analysis of the
>>> problem lead me to the result of len to be zero while the string is much
>>> longer than that. Strange also that when I do the same in de debugger the
>>> result of len is alright and also can see that the string is not empty.
>>>
>>> The strange thing is also that I have this with one customer of me and
>>> not
>>> with others.
>>>
>>> Does this ring a bell somewhere what the cause of this could be ??
>>>
>>> Dirk Visser
>>> Director VigilantDMS
>>>
>>>
>