<div dir="ltr">With our ActiveX control (MapWinGIS) written in C++ we use GDAL v2.<div>We use the pre-build binaries from GISInternals.com.</div><div><br></div><div>We have two C# applications that use our ActiveX control. One does some testing and its executable is in the same folder as our ocx and the gdal dlls. This folder also has the gdalplugins folder with the ECW, MrSid en NetCDF plug-ins.</div><div><br></div><div>When I open an ECW file in the testapplication I get this error:</div><div><div>GDAL FAILURE: `[..]\ECW-ERMapper-Compressed-Wavelets.ecw' not recognised as a supported file format. But we can open the file and it is shown properly in our map.</div><div><br></div><div>Our second C# application is a demo and has its executables in its own folder.</div><div>I've set the GDAL_DRIVER_PATH env. variable to the gdalplugins folder.</div><div>When I now open the ECW file in this application I get this error:</div><div>GDAL FAILURE: Can't load requested DLL: D:\dev\MapwinGIS\MapWinGIS\trunk\bin\Win32\gdalplugins\gdal_ECW_JP2ECW.dll<br></div><div>But that is the location of the dll. I've double checked. Even the casing is correct.</div><div>I also get this warning: GDAL WARNING: Failed to open [..]\ECW-ERMapper-Compressed-Wavelets.ecw</div><div><br></div><div><div class="gmail_signature"><div>All GDAL binaries were downloaded yesterday, but I believe we had the same issue with prior versions of GDALv2 as well. But because the test application did show the image we ignored it.</div><div>But the demo is a bit more strict ;)</div><div><br></div><div>Any suggestion is much appreciated.</div><div><br></div><div>Thanks,</div><div dir="ltr">
<br>
Paul<br>
<br>
<div style="font-size:13.3px;font-family:Verdana,Arial,Helvetica,sans-serif"><div style="border:1px solid rgb(229,229,229);padding:0.8em 0.8em 0.3em;background-color:rgb(248,248,248)"><div style="margin:0px 0px 8px"><p style="margin:0px"><span><b><img style="float: left; margin-left: 5px; margin-right: 5px;" src="http://www.bontepaarden.nl/bontepaarden/images/newButton.png" alt="" height="120" width="160">Paul Meems </b><br><span>Release manager, configuration manager</span><br><span>and forum moderator of MapWindow GIS.</span><br><a href="http://www.mapwindow.org/" target="_blank"><span>www.mapwindow.org</span></a><br><br><span>Owner of MapWindow.nl - Support for</span><br><span>Dutch speaking users.</span><br><a href="http://www.mapwindow.nl/" target="_blank"><span>www.mapwindow.nl</span></a><br></span></p>
<p style="margin:0px"><b><br></b></p><p style="margin:0px"><b><a href="http://www.slideshare.net/mapwindow" target="_blank">The English presentations of the MapWindow GIS Conference 2014 are online.</a><br></b></p></div></div><img src="http://p1.wisestamp.com/pixel.png?p=mozilla&v=3.9.12&t=1322134056890&u=482737fd0c4ca423" height="1" width="1"></div>
</div></div></div>
</div></div>