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?