Thank you for your reply. I compiled VTK with the same version of Activiz(9.3.20240515).
Then I Create vtkPolyData object obj1 and vtkPoints object pts1 by gcnew, then call obj1.SetPoints(pts1), finally send obj1 to native VTK module(by call obj1.GetCppThis().Handle.ToPointer() to convert obj1 to void*) .
but when I run the demo, It crash at native c++ to set obj1 points data, and still seems memory interrupt. looking forward for your reply.
best wishes!
demo url GitHub - yangxingpping/clrVtk
crash screenshot