Question

My platform is Visual Studio 2012 and I need to implement IPC between 32 bit and 64 bit processes. I have source code for all binaries but for several reasons one processes should remain 32 bit. I have looked into boost manual and it seems that Boost.Interprocess has everything I need - STL like structures and synchronization object. But couldn't find in docs anything about IPC between 32 bit and 64 bit processes.

Thank you.

Was it helpful?

Solution

Some IPC methods between 32 and 64 bit processes on Windows don't work, but sockets should work since they aren't dependent on the bitness of the connection.

OTHER TIPS

COM can also be used for IPC between 32-bit and 64-bit processes. If you use the IDL and stick to compatible parameter types it will marshal your parameters and everything. For large blocks of data, pass a handle that can be duplicated and used with MapViewOfFile and you won't have to make a copy of the data. Be careful of thread apartment types.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top