Can you check if the following line succeeded?
Qt Code:
numofallplayers.create(sizeof(qint64), QSharedMemory::ReadWrite);To copy to clipboard, switch view to plain text mode
Can you check if the following line succeeded?
Qt Code:
numofallplayers.create(sizeof(qint64), QSharedMemory::ReadWrite);To copy to clipboard, switch view to plain text mode
problem wasn't in shared memory, but in a threading I'm using... so now I know I have to call sharedmemory.create in beginning of every thread, so i make sure it's created before any thread attach it... and in threading you never know which thread will be first![]()
Bookmarks