Jose,
Sorry for being so ignorant!!! It didn't even occur to me that @serror would be different b/w languages.
I think we need some more though as to how this is going to progress. I'm thinking we need and EnumXML().
Also, not sure that LoadXML and SaveXML are the best method of approaching this. Shouldn't these be built right into all of the Write and Read functions; like ReadProfileString and WriteProfileString? Granted that there would be much more overhead, but much simpler to write code with. I guess that's where you'd lose your performance gain, eh Shawn? But, at least I'd be able to perform a Read operation right after write operation because the data is immediately commited to disk.
Current:
Code:
LoadXML()
Get data...
WriteXMLValue()
Get more data...
WriteXMLValue()
SaveXML()
and
LoadXML()
ReadXMLValue()
ReadXMLValue()
SaveXML()
Jim Preferred:
Code:
WriteXMLValue()
ReadXMLValue()
WriteXMLValue()
ReadXMLValue()
ReadXMLValue()
WriteXMLValue()
_________________________
-Jim
...the sort of general malaise that only the genius possess and the insane lament.