It is obvious that pointer "points" is newer initialized.
This has not coused problems in previous vtk versions but it does in vtk 1.64
Taking some examples from pcl documentation and compiling EXE application works fine but
when using pcl_visualizer in dll than error is produced "Trying to read-write protected memory"
when executing line " polydata->SetPoints (points);"
This is not surprise taking into account that points = null
Adding a new line fix the problem
points = vtkSmartPointer<vtkPoints>::New(); // NEW LINE