Hi all,
I'm working on an extension that's supposed to live both inside a subapp and outside it (in the parent frame). I know that subapps share the same address space as their parents, so if I can just pass a pointer from the parent extension object to the child extension object, then they can share data. My problem is how to share that data.
I don't want to have to force the user to store an address manually across a global value because that's clumsy, so what would you recommend for transferring a pointer?
It feels like overkill to use Named Shared Memory to communicate within the same process. Additionally, are subapps in their own thread, or does their code get stuck onto the end of the current event list like behaviours do?
EDIT: Was REALLY not expecting that! Turns out I can just use an extern variable. W00t! I can't find where to delete this thread, but someone can if they want.