I am releasing my wrapper as an OCX. It works flawlessly for me and is more than comparable speed wise with ripper w/zgate.
The one I had made with winsock API got fubar'd so I redid it with winsock control. Speed difference is much better with it this way, I have now quit with winsock API. It has no real benefit speed wise in my opinion.
Features of this wrapper.
GZIP
Proxy support
Simple neopets OCR function.
Streaming Picture for ocr(no need to download the capture image)
Headers are precise to firefox 2.0.
Its a real simple wrapper, no other functions are built into it yet, not even sure if I will add any more.
Sample usage:
Code:
wrapper.UseProxy ("192.168.0.1:8080")
strhtml = wrapper.Nget("www.neopets.com/petcentral.phtml")
strhtml = wrapper.NPost("www.neopets.com/login.phtml", "username=" & user & "&password=" & password & "&destination=%2Fpetcentral.phtml")
wrapper.NOCR (link)
wrapper.StopProxy A sample showing ease of OCR function.
Code:
link = wrapper.GetBetween(strhtml, "captcha_show.phtml?_x_pwned=", ChrW(34))
txtocr = wrapper.NOCR(link) Thats all you need to use the ocr, no need for a picturebox its on the wrapper. You should also notice it does not download the picture but streams it in.
Speeds on buys are around 700ms for my connection. Thats from finding item thru the buy.
This should make it alot easier for people wanting to make an aber.
Comments are very welcome.
When releasing your projects do not forget to also release the the ocx and the UnZip.dll with it or your programs will not work.