Boost logo

Boost Users :

Subject: [Boost-users] boost::interprocess communication between windows service and user application
From: jmpulido (peito.vive_at_[hidden])
Date: 2009-11-04 08:07:35


Hi, I'm pretty new to boost::interprocess but I've been performing
some successful communication tests between two applications, using
boost::interprocess::shared_memory_object and
boost::interprocess::mapped_region. But when one of those processes is
a windows service, then I get a file not found exception (I've catched
it and dumped it into a file), just after initializing a
shared_memory_object.

It seems that the shared memory is actually managed by means of a file
in disk that probably the user is creating in a location and the
service in a different one.

I've been googling this issue for hours, but the only resource I was
able to find is this conversation:
http://stackoverflow.com/questions/488877/boostinterprocess-between-windows-service-and-user-application
which has not been very helpful since I have no clue on how to use
boost::interprocess::managed_windows_shared_memory or even if it could
serve to my purpose somehow.

Thank you.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net