I have no trouble adding files with wxMemoryFSHandler_AddFile(), but how
do I retrieve the data later?
George Jansen wrote:
I have no trouble adding files with wxMemoryFSHandler_AddFile(), but how
do I retrieve the data later?
Something like this (untested, from memory):
fs = wxFileSystem()
file = fs.OpenFile("memory://path/to/your/file")
data = file.GetStream().read()
ยทยทยท
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!