by JoseCarlos » Fri Oct 09, 2009 7:32 pm
I am using xHarbour 1.1 and when I use TURL the program locks on the first line
- Code: Select all Expand view
oUrl:=turl():New("http://www.ntsinfo.com.br/ntsbuscacep/searchxml.php?cep=07197250&tipoPesq=cep")
cUrl:="http://www.ntsinfo.com.br/ntsbuscacep/searchxml.php?cep=07197250&tipoPesq=cep"
opg := TipClientHttp():New( oUrl ,.t.)
opg:nConnTimeout := 20000
MsgRun("Pesquisando C.E.P.: "+Transform(fCEP,"@R 99.999-999")+".Aguarde...")
if opg:Open( cUrl )
cBuf := opg:readAll()
......
José Carlos