[vtkusers] vtkObjects and arrays in c++.net

martin larrea misiones485_6300 at yahoo.com.ar
Mon Aug 23 15:12:05 EDT 2004


Ok, im about to kill my computer...
Im trying to define an array of vtkPolyDataMapper in c++.net in the main class...
 
First i tried this.

vtkPolyDataMapper* cubeMapper[];

but i get an error this.

error C2697: 'cubeMapper' : se debe especificar explícitamente __gc o __nogc para una matriz declarada dentro de un tipo administrado

(English... "must explicit use __gc or __nogc for a matrix declare in an administrative type)

Ok... second try...

vtkPolyDataMapper* cubeMapper __gc[];

but again

error C2691: 'vtkPolyDataMapper __gc *' : tipo no válido para el elemento de matriz __gc

(English... "__gc *: type invalid por the matrix element __gc)

I tried other conbinations but none of then work...

Please, any ideas... thanxs a lot.

Martin.




		100mb gratis, Antivirus y Antispam
Correo Yahoo!, el mejor correo web del mundo
¡Tenelo ya!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040823/44a6be5c/attachment.htm>


More information about the vtkusers mailing list