When return data from dynamic library with STL.

When I invoke a function developed by CPP and return some data with std::vector. It always throw an exception (vector is too long) and it is unexpected result. Does anybody know what’s the reason?

Hi there @UFAN, hope you’re well!

This topic has been moved from International to Programming & Scripting: C++.

When posting, please review the categories to ensure your topic is posted in the most relevant space.

Thanks and happy developing! :slight_smile: