Does anyone know how to setup a shared memory file in Xojo.
Hopefully portable across platforms?
are you talking like a “RAM disk”
or an in-memory SQLite Database?
and shared inside a single app or across multiple ones
Yes, please look into FileMappingMBS.CreateSharedMemory function.
and example for sharing between two apps. Server:
https://www.monkeybreadsoftware.net/example-util-filemapping-sharedmemoryserver.shtml
and client:
https://www.monkeybreadsoftware.net/example-util-filemapping-sharedmemoryclient.shtml
Thanks all.