------=_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>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>We have a VB6&nbsp;application that =
uses=20
CacheFactory to connect to our Database (Cache 4.1.9)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; Set Taula =3D=20
BDades.New("Spasat.Utilidades")<BR>&nbsp;&nbsp;&nbsp; i =3D=20
0<BR>&nbsp;&nbsp;&nbsp; Do<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
a =3D=20
CLng(32000) * i<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Tros =3D =
Mid(con, a=20
+ 1, 32000)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If Tros =3D "" =
Then Exit=20
Do<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Taula.Memo1.Write=20
Tros<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; i =3D i +=20
1<BR>&nbsp;&nbsp;&nbsp; Loop<BR>&nbsp;&nbsp;&nbsp;=20
Taula.sys_Save<BR>&nbsp;&nbsp;&nbsp; IDMemo1 =3D=20
Taula.sys_ID<BR>&nbsp;&nbsp;&nbsp; Taula.sys_Close<BR>&nbsp;&nbsp;&nbsp; =
Set=20
Taula =3D Nothing</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Many thks</FONT></DIV></BODY></HTML>

------=_NextPart_000_00D5_01C46995.856FD980--


Reply via email to