Hi,
I'm using MSXML2::IServerXMLHTTPRequestPtr to send a request. When I have no internet connection, I get an exception.

My code:

xmlHttp.CreateInstance(MSXML2::CLSID_ServerXMLHTTP);
xmlHttp->open("GET", url, variant_t(false));
xmlHttp->setRequestHeader("Accept-Language", "en-US");
xmlHttp->send();

When I use it and there's no internet connection, I get a 0xE0000001 exception, while in xmlHttp->send(), from this code:
inline void _bstr_t:: Data_t::_Free() throw()
{
if (m_wstr != NULL) {
::SysFreeString(m_wstr);
...
}

Any ideas?

Thanks,
yakobom