------=_NextPart_000_00D5_01C46995.856FD980
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi at all,
We have a VB6 application that uses CacheFactory to connect to our =
Database (Cache 4.1.9)
This application uses the code below to succesfully fill a =
%Library.Steam (Character Stream)
Set Taula =3D BDades.New("Spasat.Utilidades")
i =3D 0
Do
a =3D CLng(32000) * i
Tros =3D Mid(con, a + 1, 32000)
If Tros =3D "" Then Exit Do
Taula.Memo1.Write Tros
i =3D i + 1
Loop
Taula.sys_Save
IDMemo1 =3D Taula.sys_ID
Taula.sys_Close
Set Taula =3D Nothing
The problem appears when we use this application against Cache 5 (v. =
5.0.4.829.0), we get the error Error 9990, Message Exceed 32K, Unable to =
Send.
If I decrease the 32000 for another number lower than 31979 it works, =
but higher of 31979 it crashes.
I wonder if in Cache 5 this type of properties or the way to handle it =
has changed ??
Many thks
------=_NextPart_000_00D5_01C46995.856FD980
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>Hi at all,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>We have a VB6 application that =
uses=20
CacheFactory to connect to our Database (Cache 4.1.9)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>This application uses the code below to =
succesfully=20
fill a %Library.Steam (Character Stream)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2> Set Taula =3D=20
BDades.New("Spasat.Utilidades")<BR> i =3D=20
0<BR> Do<BR> =
a =3D=20
CLng(32000) * i<BR> Tros =3D =
Mid(con, a=20
+ 1, 32000)<BR> If Tros =3D "" =
Then Exit=20
Do<BR> Taula.Memo1.Write=20
Tros<BR> i =3D i +=20
1<BR> Loop<BR> =20
Taula.sys_Save<BR> IDMemo1 =3D=20
Taula.sys_ID<BR> Taula.sys_Close<BR> =
Set=20
Taula =3D Nothing</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>The problem appears when we use this =
application=20
against Cache 5 (v. 5.0.4.829.0), we get the error <STRONG>Error 9990, =
Message=20
Exceed 32K, Unable to Send.</STRONG></FONT></DIV>
<DIV><STRONG><FONT face=3DArial size=3D2></FONT></STRONG> </DIV>
<DIV><FONT face=3DArial size=3D2>If I decrease the 32000 for another =
number lower=20
than 31979 it works, but higher of 31979 it crashes.</FONT></DIV>
<DIV><STRONG><FONT face=3DArial size=3D2></FONT></STRONG> </DIV>
<DIV><FONT face=3DArial size=3D2>I wonder if in Cache 5 this type of =
properties or=20
the way to handle it has changed ??</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Many thks</FONT></DIV></BODY></HTML>
------=_NextPart_000_00D5_01C46995.856FD980--