
15 Apr
2008
15 Apr
'08
6:48 p.m.
Hello again, I have one managed_shared_memory, which contains exactly one instance of a certain structure, allocated via MySegment.find_or_construct<TheClass>(interprocess::unique_instance)(...); How can I determine how big the segment must be? interprocess::managed_shared_memory ConfigurationManagerSegment(interprocess::open_or_create, "sharedMem", sizeof(TheClass)+x); //What should be x? Thank you