Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

[V8.i C++ ss4] PointCloudHandler::GetElementRefs issue

$
0
0

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


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>