I put this under game programming too because game programmers might know how to do this.
I need to write a class that creates an object, lets say the type of the object is MACHINE.
This class needs to take this instance of the object and pass it to another process somehow so both processes can access the same instance of MACHINE.
How do I do this?
I know some methods of IPC like using sockets, shared memory, message passing, but I don't think this will help me share an object.
Thanks for any help experts! I will be keeping an eye on this thread.