Yes. Shared memory uses the operating system’s named shared memory, so a program you wrote yourself — even one not made with Unreal Engine — can exchange data with ObjectDeliverer by opening the shared memory under the same name.
The data layout must follow ObjectDeliverer’s format. The shared memory starts with a counter that advances on every write (1 byte) and the data size (4 bytes), followed by the data itself. Allocate the size you set in ObjectDeliverer plus these 5 bytes.
Platform notes:
- Windows: Open the shared memory under the same name, as before.
- Mac/Linux: Use only letters, digits, “_”, “.”, and “-” in the shared memory name, and keep it within 30 characters. Names with other characters, or longer names, are converted to an internal name by ObjectDeliverer, which makes it hard for your program to open the same region.
- ObjectDeliverer creates the shared memory and cleans it up when it ends. Have your program open the shared memory that ObjectDeliverer created and read/write through it. When the ObjectDeliverer side ends, the shared memory name is released.
- Use the same size for a given name in every program that exchanges data.
