[vtkusers] allocating memory

REGAT-BARREL Aurélien arbvtk at yahoo.fr
Mon Feb 2 12:23:28 EST 2004


Hello,
Are you sure that vtkpoints is not null ?
 
Aurélien

Tom Clancy <lost_bits1110 at hotmail.com> wrote:

Hello,

Anyone have any ideas of why it gives me access violation when I do 

vtkpoints->SetNumberOfPoints( number );

vtkgrid->Allocate( number );

Access violation happens at the SetNumberOfPoints(), and if i place it somehwere else, then it also happens at the Allocate() line, so both of these lines cause the error.

thanks.



---------------------------------
There are now three new levels of MSN Hotmail Extra Storage! Learn more. _______________________________________________ This is the private VTK discussion list. Please keep messages on-topic. Check the FAQ at: Follow this link to subscribe/unsubscribe: http://www.vtk.org/mailman/listinfo/vtkusers


---------------------------------
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Testez le nouveau Yahoo! Mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040202/fbae9d75/attachment.htm>


More information about the vtkusers mailing list