Bruce..
I was looking at the code in 8.34 and 8.39 and they are very different.
In 8.39 the error happens in line 1361, please see images
I run my trace proc and realized it happens the second time I read a big web page.
This is what happens first time I read it:
Fetch de:
http://200.68.94.242/xoc?F=S&S=O&M=PES&Z=1Fetch okProcesa lectura... 4
PortIt / Opciones 4
http://200.68.94.242/xoc?F=S&S=O&M=PES&Z=1 PageLen :
384342Termina Proceso lectura... 4 , segundos: 0.15
500000is the length of the PageString var in the web reading proc
When I read it again
Fetch de:
http://200.68.94.242/xoc?F=S&S=O&M=PES&Z=1==>Msg: Index out of range
Error point: 00463DB7
Process PID=20760 Image: C:\Clarion9.1\_Apps\PortIt\Plus\PortIt.Exe
Thread 2 Handle=00000274 TID=22896
Stack frame: 018AFAF8
Call Stack:
00463DB7 NetWww.Clw:1361 - R$STOREDATA
As you can see there no Fetch OK and the GPF appears instead.
Ive added some lines in the Netwww.clw StoreData ROTUINE like:
StoreData Routine
setclipboard(clip(self._LastURLRequested)&'|'&self.PageLen &' + '& self.packet.binDataLen &' > '& self._AllocatedPageLen&'|'&|
'['&(self.pagelen + 1)&' : '&(self.PageLen + self.packet.BinDataLen)&'] = self.packet.binData [1 : '&self.packet.binDataLen&']')
Then, when the GPS appears I get:
http://200.68.94.242/xoc?F=S&S=O&M=PES&Z=1211208 + 1460 > 384632
[211209 : 212668] = self.packet.binData [1 : 1460]
but...212668-211209=1459 , which is OK, then What happened?!?!?
Any other code to add to debug it?
Thanks
[attachment deleted by admin]