agk::SetHTTPHost(connect,"www.wrh.noaa.gov",0);
int pic=agk::GetHTTPFile(connect,"/images/wrh/roads/","pih_rds.gif","");
int ok=0;
bool okbool=true;
while(okbool)
{
ok=agk::GetHTTPFileComplete(connect);
if(ok==1||ok==-1)
{
okbool=false;
}
}
agk::CreateSprite(agk::LoadImage("pih_rds.gif"));
That is my code for loading a gif from the government web site. I putting this as part of an app I am making with a student. actually never mind i got it i needed to add pih_rds.gif at the end of getting a file.
Developer of Space Chips, pianobasic, zipzapzoom, and vet pinball apps. Developed the tiled map engine seen on the showcase. Veteran for the military.