Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Extra libraries, Code snippets, applications etc. » U++ users applications in progress and useful code snippets, including reference examples! » Porting a Delphi Application
Re: Porting a Delphi Application [message #11628 is a reply to message #11623] Wed, 19 September 2007 20:32 Go to previous messageGo to previous message
cbpporter is currently offline  cbpporter
Messages: 1402
Registered: September 2007
Ultimate Contributor
I have a little problem with XML loading. I couldn't find any documentation on the site so I looked at the provided examples and the Xml loader source code. Everything seems pretty straightforward and the examples work.

But I need something a little different. I need to keep the entire Xml tree in memory and populate several different trees (consider these trees as "View" and the Xml as the "model" with data computed on base of the Xml by traversing the Xml saved in the memory (multiple times). I also need to modify the Xml and save it.

So I used the ParseXml function to obtain an XmlNode, and used GetCount and assorted functions to traverse recursively it's children. For the first "view" I tried a simple mapping of the structure into a TreeCtrl. But as hard as I tried, I could get anything except a tree with an empty root and a child which has the filename as a child.

Which is the proper way to load a Xml like in the XmlView example, but by maintaining a copy of the Xml in memory?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to write a dll using Ultimate++?
Next Topic: embedded configuration data/values in self for a executable
Goto Forum:
  


Current Time: Tue Jun 11 00:07:09 CEST 2024

Total time taken to generate the page: 0.01283 seconds