|
I use the following approach:
HINTERNET hInternet; //
hInternet = InternetOpen ("Microsoft Internet Explorer", INTERNET_OPEN_TYPE_DIRECT, NULL, NULL, 0);
InternetConnect (hInternet, "211.111.122.133", INTERNET_DEFAULT_HTTP_PORT, "Administrator", "123456", INTERNET_SERVICE_HTTP, 0,0);
CString m_strGstFile = "\\\\211.111.122.133\\E $\\Electronic map\\National map\\Guilin WGS84\\tab (WGS)\\Guilin.gst"
Open the file: m_ctrlMapX.SetGeoSet (m_strGstFile);
why not? |
|