Op 2010-06-21 15:34, Henry Vermaak het geskryf: > > Seriously, would you try the same thing with a file?
Seriously, you would want to tell developers in todays times that they can't concurrently access a file? > Programs that want to write to the same json file from > different classes need to handle this properly, just like they would > have to when using files. Unfortunately TJSONConfig and TXMLConfig encapsulates the file handling - it's not available to the developer to change. So the file handling fix needs to occur in these components themselves. Lazarus IDE even makes the TXMLConfig component available to developers on the System component palette - ready to be dropped on any form. All without the warning of potential data loss (even with StartEmpty = False)! Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
