Use VTK by DLL, hanged at 2nd normal cycle in Create vtk object
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
To whom it may concern:
I found when using vtk library ( 5.4.2 & 5.4.0) called in my DLL( run-time dynamic linked DLL),
Use the normal cycle, "Load library", getProcessAddress ,"Create Vtk object", "destroy Vtk Object" , "Free libratry";
At the second time, ,"Create Vtk object" can cause hang up Vtk Error(Cannot not create Window).
But when my DLL is a ( Load-time DLL) , There is not any problem no matter how many times I repeat that normal cycle.
( it also concerned with Shared library [V] when building vtk library, If use this option, it is 100% hanged at 2nd time, Creating vtk object, tracing into Render(); statement)
Is it vtk Bugs? How to cure it ?
I have made a simple program to demo that error. Centainly, you can make one on your own.