pelicano2011

Help from RasterWorkspaceFactoryClass

Discussion created by pelicano2011 on Nov 3, 2011
Latest reply on Nov 3, 2011 by Neil
I'm trying instantiate RasterWorkspaceFactoryClass whith following snippet code,


  IWorkspaceFactory workspaceFactory = new RasterWorkspaceFactoryClass();

and the compiler generate this error

ESRI.ArcGIS.DataSourcesRaster.RasterWorkspaceFactoryClass' can not be embedded. Use the interface of its place.

I copied the code of a example of version 9.3  arcgis objects api.

anyone can help me?

Outcomes