Search found 3 matches

by vsm
Fri Oct 17, 2025 7:29 am
Forum: Motive
Topic: MotiveAPI 3.1.0 bug with multiple threads
Replies: 1
Views: 390

MotiveAPI 3.1.0 bug with multiple threads

Hi, I found a bug inside MotiveAPI DLL when performing MotiveAPI::Initialize()/MotiveAPI::Shutdown() from different threads. You'll find attached a very simple program to reproduce the issue. I guess there's a problem with thread context management inside DllMain (DLL_THREAD_ATTACH/DLL_THREAD_DETACH...
by vsm
Fri Oct 17, 2025 7:25 am
Forum: Motive
Topic: MotiveAPI 3.1.0 using std containers !!!
Replies: 4
Views: 860

Re: MotiveAPI 3.1.0 using std containers !!!

Hi Steven, Thank you for your answer. In fact, this is not a very satisfiying solution, since all my code base is compiled with v143 toolchain, making heavy use of C++20 features which are perhaps not supported by the toolchain you compile MotiveAPI DLL with. Furthermore, for this workaround to work...
by vsm
Sat Oct 11, 2025 1:53 am
Forum: Motive
Topic: MotiveAPI 3.1.0 using std containers !!!
Replies: 4
Views: 860

MotiveAPI 3.1.0 using std containers !!!

Hi, I'm surprised that the Motive API contains functions using std containers, which is against best practices. Indeed, if the client uses a different std version, there is a risk of crash. STL types (std::string, std::vector, etc.) are not ABI-stable. Their binary representation and allocation stra...