Hi all, I have a urgent problem. I configured my application to load a .ecw raster layer and visualize it. I installed FWtools 2.4.7 and everything to make this work.
The application works in debug mode (from visual studio->debug)
But when I try to execute the application by double clicking it, freezes.
That's my stupid example:
GdalRasterLayer G = new GdalRasterLayer("Try1", @"C:\Foo.ecw");
Map M = new Map(pictureBox1.Size);
pictureBox1.Image = M.GetMap();
The application freezes in the GDAL constructor.
Stepping into the behind code, I noted that there is an error in GdalRasterLayer.cs:
in public GdalRasterLayer(string strLayerName, string imageFilename)
_gdalDataset = Gdal.OpenShared(_Filename, Access.GA_ReadOnly);
Here the application freezes. There's no way to understand the error...