Показать сообщение отдельно
  #2  
Старый 02.05.2011, 09:39
Аватар для NumLock
NumLock NumLock вне форума
Let Me Show You
 
Регистрация: 30.04.2010
Адрес: Северодвинск
Сообщения: 5,426
Версия Delphi: 7, XE5
Репутация: 59586
По умолчанию

IXMLHTTPRequest все-равно что загружать.
Цитата:
responseXML Property

Remarks

The property is read-only. For security reasons, the parser validation features are always turned off to prevent Microsoft® XML Core Services (MSXML) from attempting to download a document type definition (DTD) or XML-Data definition. If the response entity body is not valid XML, this property returns DOMDocument that was parsed so that you can access the error. This property does not return IXMLDOMParseError itself, but it is accessible from DOMDocument.

http://msdn.microsoft.com/en-us/libr...(v=VS.85).aspx

а почему асинхронный режим не используешь?

Код:
procedure TFormMain.Get;
begin
  try
    XMLHTTP.open('GET', 'http://www.delphisources.ru/forum/external_mod.php?type=RSS2', True);
    XMLHTTP.send('');
  except
  end;
  Timer.Enabled:=True;
end;

procedure TFormMain.TimerTimer(Sender: TObject);
begin
  if XMLHTTP.readyState=4 then
  begin
    Timer.Enabled:=False;
    if XMLHTTP.status=200 then
    begin



http://data.cod.ru/99571
__________________
Пишу программы за еду.
__________________
Ответить с цитированием