Open
Description
I'm embedding zphysics into a dll for some experimenting. When done in the exe itself there is no issue but in the dll I am getting heap corruption.
It's originating somewhere in the JPH_IMPLEMENT_SERIALIZABLE_NON_VIRTUAL(SkeletalAnimation) macro but I haven't a chance to dig into it too much.
It's somewhere deep in mingw's
int __cdecl atexit (_PVFV func)
{
return _register_onexit_function(&atexit_table, (_onexit_t)func);
}
Curious if anyone else has had much success or ran into this issue. I might dig into it more or I might rework my architecture around this and pass necessary info back into the dll as needed.