문제

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.

도움이 되었습니까?

해결책

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.

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top