tags:

views:

347

answers:

3

Hi, what wrapper class can you recommend for IPC on Win32? I have tried XQueue, I found it slightly clunky, and would like to hear what else is out there. Building something on InterlockedPopEntrySList() seems nice but that requires server 2003.

Thanks, Adam

A: 

Check out Boost's interprocess library. It has all the building blocks you need to create a very clean IPC implementation via shared memory.

Clay
+1  A: 

I'd recommend Qt4 (or you could check the source) : http://doc.trolltech.com/4.5/qsharedmemory.html

OneOfOne
Thanks, QT seems like a fantastic framework. But without having had a deep look at this particular implementation, I have a feeling that I would have to include a fairly large chunk of that framework, in order to get this one feature. I could be wrong. Any comments?
Adam
It is LGPL, so I believe you can easily check the source code for it and include it in your code, unless your project's license isn't compatible with LGPL.
OneOfOne
+1  A: 

I'd recommend Boost Interprocess, however you might prefer a more light weight version published here (win32 only).

Alan