[vtkusers] Access violation when using vtkPolyDataReader

Hassan Amin sha1 at doc.ic.ac.uk
Thu Jul 28 14:13:47 EDT 2005


Dear friends,
    The following  line  readers[i]=vtkPolyDataReader::New() is giving 
me run time error(access violation writing location ). Can any body help 
me ?

Yours,

S. Hassan Amin

int inputs=fp.size();
  
assert(readers=(vtkPolyDataReader**)calloc(inputs,sizeof(vtkPolyDataReader*)));
    for (int i=0;i<fp.size();i++)
    {
        readers[i]=vtkPolyDataReader::New();  // Gives me run time error
    }



More information about the vtkusers mailing list