Hi,Due to poor architectural design, my software now has to rely on the vtk library. Even if the function to be called does not involve vtk, I have not manually called or initialized the objects and functions of vtk. However, a crash was triggered when using FreeLibrary. How should I troubleshoot and solve this problem?
VTK doesn’t really support library unloading. There are lots of global constructors called that install hooks in various places and no logic to undo it in a stable way (other than exit).
1 Like
