Re: [BLACKBOX] Internet Files

From: [at]} <Marc>
Date: Sat, 13 Apr 2013 10:02:09 +0000


Dear Robert,

please find attached a simple HTTP client based on the Windows API.

Maybe this would be a suitable starting point for your project.

Kind regards,
Marc




On Apr 13, 2013, at 5:55 AM, Chris Burrows <chris{([at]})nowhere.xy

> Robert Campbell asked me to forward this message to the BlackBox mailing
> list for him:
>
> -------------------------------
> If I type the address "http://a.tile.openstreetmap.org/17/64377/40836.png"
> into a web browser I get to see a 256 * 256 pixel bitmap (which happens to
> be a map of my house which I added myself this Christmas, but that is all
> irrelevant).
>
> How would I write a BlackBox program to fetch this tile, and either turn it
> into an internal BlackBox bitmap, or save it directly as a .png file.
>
> I do use the FreeImage subsystem, so can handle bitmaps and .png files
> within BlackBox, but I have no idea how to start on the internet stuff.
>
> Maybe the answer is in the Comm SubSystem, which I have used (a long time
> ago) to communicate PC to PC over ethernet and over the USB?
>
> Regards
>
> Robert
> -------------------------------
>
>
> ----
> To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy



---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy



Dear Robert,

please find attached a simple HTTP client based on the Windows API.

Maybe this would be a suitable starting point for your project.

Kind regards,
Marc



On Apr 13, 2013, at 5:55 AM, Chris Burrows <chris{([at]})nowhere.xy
> Robert Campbell asked me to forward this message to the BlackBox mailing
> list for him:
>
> -------------------------------
> If I type the address "http://a.tile.openstreetmap.org/17/64377/40836.png"
> into a web browser I get to see a 256 * 256 pixel bitmap (which happens to
> be a map of my house which I added myself this Christmas, but that is all
> irrelevant).
>
> How would I write a BlackBox program to fetch this tile, and either turn it
> into an internal BlackBox bitmap, or save it directly as a .png file.
>
> I do use the FreeImage subsystem, so can handle bitmaps and .png files
> within BlackBox, but I have no idea how to start on the internet stuff.
>
> Maybe the answer is in the Comm SubSystem, which I have used (a long time
> ago) to communicate PC to PC over ethernet and over the USB?
>
> Regards
>
> Robert
> -------------------------------
>
>
> ----
> To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy

---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy



Received on Sat Apr 13 2013 - 12:02:09 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:29:54 UTC