bonjour ,
Je souhaiterais que quelqu un m aide a comprendre ces lignes :
CString Request = _T("maps/api/staticmap?center=Brooklyn+Bridge,New+York,NY&zoom=10&size=768x768&maptype=satellite \
&markers=color:blue |label:S|40.702147,-74.015794\
&markers=color:green|label:G|40.711614,-74.012318\
&markers=color:red |label:C|40.718217,-73.998284\
&sensor=false&key=PORTNAWAK");
char Buffer[409600];
m_HttpConnection = m_Session.GetHttpConnection(_T("maps.google.com"));
m_HttpFile = m_HttpConnection->OpenRequest(CHttpConnection::HTTP_VERB_GET, Request);
m_HttpFile->SendRequest();
int Read = m_HttpFile->Read(Buffer, sizeof(Buffer));
CFile PngFile(_T("PngMap.png"), CFile::modeWrite|CFile::modeCreate);
PngFile.Write(Buffer, Read);
PngFile.Close();
return TRUE;
Merci d'avance.