- Calling an HTTP request: Retrieving an image
Calling an HTTP request: Retrieving an image The following code is used to retrieve an image from "www.windev.com". This image will be saved in the "C:\MyImages\Images.GIF" file.
// Define the variables ResCall is boolean MyFile is Buffer ResCall = HTTPRequest("http://www.windev.comr/img/bckgrd/block-h-g.gif") IF ResCall = True THEN // Save the image in the file fSaveBuffer("C:\MyImages\Images.GIF", HTTPGetResult()) END
Remark: In Windows Mobile, the image will be saved in the "\MyImages\Images.GIF" file.
This page is also available for…
|
|
|
|