I’m testing NauticalChartsViewer Sample, and I want to visualize a S57 Chart, but the problem is that when I try to create the .idx file, it shows an error:
private void buildIndexWorker_DoWork(object sender, DoWorkEventArgs e)
{
IEnumerable fileNames = e.Argument as IEnumerable;
foreach (string fileName in fileNames)
{
NauticalChartsFeatureSource.BuildIndexFile(fileName, BuildIndexMode.Rebuild); //ERROR
}
e.Result = fileNames;
}
In my case the error says the follwing:
“Intento de leer o escribir en la memoria protegida. A menudo, esto indica que hay otra memoria dañada.”
In English it would be something like:
“Trying to read or write in the protected memory. Sometimes, it indicates that there’s another memory damaged”.
I don’t have any idea about that or how to solve it. Please help! I need this sample to continue with a project.
I’m using the evaluation product because I want to know more about this. And after buy the license.