Hello,
i'm using Microstation V8.i ss4 C++ sdk. I try to dynamically get point clouds attached using PointCloudHandler::GetElementRefs with a std::vector.
void GetElements()
{
std::vector<ElementRef> elements;
Bentley::Ustn::Element::PointCloudHandler::GetElementRefs(elements, NULL);
}
When the code leave the function "GetElement", i have the following message, in debug and release.
I think that std::vector manage it memory and it destructor is called when the execution leave the function.
Maybe it is an issue of double delete (std::vector vs microstation) ?
If i use a static std::vector<ElementRef> elements; i have the same issue when i close my program.
Can you give me advice on how use API PointCloudHandler::GetElementRefs ?
Best regards.
Cyrille