Thanks for the quick answer. I am using Python 3.0.1 and buffer has been
replaced by memoryview.
Anyway it works fine to access QBuffer internal data but it crashes when
attempting to access QSharedMemory data.
Here is the piece of code that crash:
from PyQt4 import QtCore
sharedMemory = QtCore.QSharedMemory('key')
sharedMemory.create(256)
sharedMemory.lock()
view = memoryview(sharedMemory.data()) # CRASH!
Regards,
Alexandre.
_______________________________________________
PyQt mailing list [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt