I'm trying to read an RSS feed using XMLread.<br>This example works when i compile to Win32, however for winCE/KOL it shows me an acess violation.<br><br><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
path := extractfilepath(Paramstr(0))+'tmp1.txt';<br></blockquote><blockquote>h.SaveToFile(path);<br></blockquote><blockquote>  ReadXMLFile(Documento, path);<br></blockquote><blockquote><br></blockquote><blockquote>
<br></blockquote><blockquote>  Memo1.Clear;<br></blockquote><blockquote>   // usando as propriedades FirstChild e NextSibling<br></blockquote><blockquote><br></blockquote><blockquote>   Child := Documento.DocumentElement.FirstChild;<br>
</blockquote><blockquote><br></blockquote><blockquote><br></blockquote><blockquote>   Memo1.add(int2str(Child.ChildNodes.Count));<br></blockquote><blockquote>   while Assigned(Child) do<br></blockquote><blockquote>   begin<br>
</blockquote><blockquote>     Memo1.Add(Child.NodeName + ' ' + Child.Attributes.Item[0].NodeValue);<br></blockquote><blockquote>     // usando método ChildNodes<br></blockquote><blockquote><br></blockquote><blockquote>
     with Child.ChildNodes do<br></blockquote><blockquote>     try<br></blockquote><blockquote>       for j := 0 to (Count - 1) do<br></blockquote><blockquote>         Memo1.Add(Item[j].NodeName + ' ' + Item[j].FirstChild.NodeValue);<br>
</blockquote><blockquote>     finally<br></blockquote><blockquote>       Free;<br></blockquote><blockquote>     end;<br></blockquote><blockquote>     Child := Child.NextSibling;<br></blockquote><blockquote>   end;<br></blockquote>
<blockquote>   Documento.Free;     <br></blockquote><blockquote><br></blockquote><p>Anyone knows what's the reason for this?</p><p></p><p>Thanks, Joni Silva<br></p><br>