![]() |
|
MXL microsoft msxml is not installed - Baskı Önizleme +- Delphi Can (https://www.delphican.com) +-- Forum: Delphi (https://www.delphican.com/forumdisplay.php?fid=3) +--- Forum: Mobil Platform - FireMonkey (FMX) (https://www.delphican.com/forumdisplay.php?fid=7) +--- Konu Başlığı: MXL microsoft msxml is not installed (/showthread.php?tid=4180) |
MXL microsoft msxml is not installed - BGNew - 16-11-2019 Merhaba; xDoc.Active := True; satırında thread microsoft msxml is not installed hatası alıyorum. Aynı kodları bir buton altında çalıştırınca hata almıyorum. Fakat Execute altında çalıştırınca hata oluyor. Bu neden kaynaklı olabilir?
procedure TWebSayfam.Execute;
var
I: Integer;
xDoc: IXMLDocument;
sTitle, sLink: WideString;
sNode, XNode: IXMLNode;
begin
xDoc := TXMLDocument.Create(nil);
try
xDoc.Active := False;
xDoc.LoadFromFile('xxxxxxx');
xDoc.Active := True;
XNode := xDoc.DocumentElement;
XNode := xDoc.ChildNodes.First;
for I := 0 to XNode.ChildNodes.Count - 1 do
begin
sNode := XNode.ChildNodes.Nodes[I].ChildNodes.Nodes['item'];
sTitle := sNode.ChildNodes['title'].Text;
sLink := sNode.ChildNodes['link'].Text;
end;
finally
xDoc.Active := False;
end;
end;
MXL microsoft msxml is not installed - malitutuncu - 16-11-2019 Execute icerisinde bu şekilde deneyin CoInitialize(nil); try //calisacak kod finally CoUninitialize(); end; Cvp: MXL microsoft msxml is not installed - BGNew - 16-11-2019 (16-11-2019, Saat: 20:42)malitutuncu Adlı Kullanıcıdan Alıntı: Execute icerisinde bu şekilde deneyin Ek olarak: Uses ActiveX Teşekkür ederim. |