I am tasked with implementing an xml editor based on Win32 as a frontend process, while the business logic will be handled via a 64bit process. In addition the communication between the two processes will be done via a message bus which can only transmit messages of the form wchar_t *
. (Yes it is so bad).
Assuming you have only C++ 03
in your hands, no external library support e.g. Boost
what would be the best design for this task? The use case is that the user simply edits some .xml files.
I was thinking having a function pointer table in the business logic module which handles the different messages and then returns back to "listening" to events.
Side question is there any "easy" way to serialize an object as a string?
Thanks a lot.
Edit:
Boost is now allowed. Should I go with ASIO or MPI? I guess the first one right?
:)
– Joost