I am having an issue with our cost distance raster. I tried using our methods that worked in 10.0 to add these to the table of contents on the map to see the values returned. However when I all either
IApplication baseApp = (IApplication)Activator.CreateInstance(Type.GetTypeFromCLSID(new Guid("E1740EC5-9513-11D2-A2DF-0000F8774FB5")));
or I call
IApplication baseApp = (IAplication)Activator.CreateInstance(Type.GetTypeFromProgID("esriFramework.AppRef"));
I get the same error returned :
Process Failed: System.Runime.InteropServices.COMException.....IClassFactory Failed due to error 8000ffff
I've seen discussions on Stack Overflow that you have to be inside an Arcmap enviroment....however I AM inside an Arcmap environment.
Is there a new way to do this inside 10.2.2 that these........developers didn't share with us???