hello sir,
i am creating some code like
Geoprocessor gp = new Geoprocessor();
gp.OverwriteOutput = true;
ESRI.ArcGIS.AnalysisTools.MultipleRingBuffer multibuff = new ESRI.ArcGIS.AnalysisTools.MultipleRingBuffer(layer,@""+txtOutputPath.Text+"",multibufferdistance.ToArray());
IGeoProcessorResult results = (IGeoProcessorResult)gp.Execute(multibuff, null);
when i excute this code i got this error "LoaderLock was Detected" error Description=" Attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang." i did'nt get the details of this error nor find any suggestion .
if you have any solution or sample code for this sent me link.
Thanks and regards
Aniket Babar
Geoprocessor gp = new Geoprocessor(); gp.OverwriteOutput = true; ESRI.ArcGIS.AnalysisTools.MultipleRingBuffer multibuff = new ESRI.ArcGIS.AnalysisTools.MultipleRingBuffer(); multibuff.Buffer_Unit = "Meters"; multibuff.Distances = "10;20;30"; //string.Join(";",multibufferdistance.ToArray()); multibuff.Input_Features = layer; multibuff.Output_Feature_class = @""+txtOutputPath.Text+""; IGeoProcessorResult results = (IGeoProcessorResult)gp.Execute(multibuff, null);
Hello ahmed sir
i have used your code and the direction to unchecked lock loader after doing all this i run my project again but it will display another error which i have attached image of error please give me some reply for this. and also write error details
error=" R6034 an application has made an attempt to load the c runtime library incorrectly. please contact the application's support team for more information"
Thanks and regards
Aniket Babar
http://gis.stackexchange.com/questions/72506/how-to-fix-runtime-error-r6034-an-application-has-made-an-attempt-to-load-th-c
i have used all the direction on that link but did not got any solution if you have any another link for this problem send me thank you