LPCWSTR location_url;
m_spWebBrowser->get_LocationURL((BSTR*)&location_url);
inと比較LPCWSTR するにはどうすればよいですか?const char *strstr
例:
if(strstr((location_url, ".html"))
LPCWSTR location_url;
m_spWebBrowser->get_LocationURL((BSTR*)&location_url);
inと比較LPCWSTR するにはどうすればよいですか?const char *strstr
例:
if(strstr((location_url, ".html"))
ターゲット拡張を幅の広い文字列にして、wcsstrを使用することもできます
wchar_t* ext = L".html";
if (wcsstr(location_url, ext))