Boost logo

Boost :

Subject: [boost] [interprocess] Different processes accessing shared memory in different locations
From: Tom Sanham (tom_at_[hidden])
Date: 2013-09-10 06:01:17


Hi

Our application has the following scenario using Boost V1.0.52:

1) Process A writes to boost interprocess shared memory. The files
appear at
C:\ProgramData\boost_interprocess\...

2) Process A launches Process B

3) Process B attempts to read from shared memory but fails. It is
attempting to read from:
C:\Users\<username>\AppData\Local\Temp\boost_interprocess\...

This failure only occurs on one single Windows 8 64 bit machine out of
many we have tested. On all other machines, the application works
perfectly.

Please could somebody advise:

What changes to our application could be made to avoid this?
What changes to the machine's configuration (eg. Registry) could be made
to avoid this issue?

Many thanks

Thomas Sanham


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk