The expected steps is somewhat like (let's assume we only target Linux, for simplicity):
- Embed some binary blob into an C/C++ executable at compile time. [ok, can do this].
- When app runs embedded blobs are made available to other programs as a read-only files on a filesystem with an app defined paths and filenames (e.g. somewhere like "/tmp/my_embedded_resource.bin"). [fmemopen and then ... ?]
- When app quits (even if it crashes) those read-only "files" (links?) are automatically removed.
So, the gist of this question is inside points (2) and (3) above.
Thanks in advance.