No constructor defined

255
0
06-23-2010 07:25 AM
PatWicki
New Contributor
Hi there,

I work with ArcGIS9.3 and Visual C# express! When I try to create new IGeometryCollection  objects with the following lines of code:

IGeometryCollection multiPatchGeometryCollection = new MultiPatchClass();
IPointCollection trianglesPointCollection = new TriangleFanClass();


I get error-messages which should read in english like:

No constructor defined for type "ESRI.ArcGIS.Geometry.MultiPatchClass"
No constructor defined for type "ESRI.ArcGIS.Geometry.TriangleFanClass"

This code worked fine with 9.2! Did they change something in the libraries? Or what am I doing wrong?


Thanks in advance
Pat

I just realised: The code works on a 32bit-system but not on a 64bit! What do I have to change to make it work on the 64 also?
0 Kudos
0 Replies