Hi,

 

I have the following boost::interprocess::map:

 

std::shared_ptr<boost::interprocess::map<size_t,boost::interprocess::managed_shared_memory*> > memoryMap;

 

I insert into the map in the following manner:

memoryMap ->insert( std::make_pair (i,

                        new boost::interprocess::managed_shared_memory(boost::interprocess::create_only, “MemoryMap”, 128)));

 

Compilation is successful. But there is the following run-time error during insert:

 

“memory access violation occurred at address -----------, while attempting to read inaccessible data”

 

Is there anything missing?

 

Mit freundlichen Grüßen / Best regards

 

Hemanth Choudary M V

RBEI/ETA1

 

Tel. +49 7113423 2875

 

Singature_3-1

 

Facebook-icon_123   Twitter-icon   link