BTW: Do you have any compelling reason to use ECW 4.1 instead of an older version, like the 3.3 povided for example at: <a href="http://vbkto.dyndns.org/sdk/">http://vbkto.dyndns.org/sdk/</a> These packages also contain the required C# bindigs for gdal and mapserver. You can download the -dev packages so as to compile your own versions of gdal and mapserver if you need to so do.<br>
<br>You may also set the GDAL_DRIVER_PATH programmatically by using the Gdal.SetConfigOption method.<br><br><br>Best regards,<br><br>Tamas<br><br><br><br><div class="gmail_quote">2010/11/25 GeoJoda <span dir="ltr">&lt;<a href="mailto:joseph4774@hotmail.com">joseph4774@hotmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi again
Finally I managed to compile ecw dll as part of gdal. This means I do not need to declare a system variable to tell where ecw gdal plugin is located. I ran gdalinfo - format:
 Bingo found<img src="">
<b>Supported Formats:
  ECW (ro): ERMapper Compressed Wavelet
  JP2ECW (ro): ERMapper JPEG2000</b>
But when I try to run gdal17.dll with MapServer, I get this error message:
<b>load output format ():
General error message. OUTPUT FORMAT clause references driver GDAL / ECW,
men this driver isn&#39;t Configured.; msInitGDALOutputFormat ():
General error message. GDAL `ECW` driver ikke support output.</b>
<img src="">
I get this error message only when I include. Ecw file in mapFile. This means that solution with the new gdal thrived without ecw.
So question is am I missing some configurations for MapServer or what?
I will attach this time the new gdal17.dll, gdalinfo.exe and MapServer. So maybe can someone tell me what&#39;s going on?
the rest Iam using mapscript_csharp.dll.

thanks
<a href="http://osgeo-org.1803224.n2.nabble.com/file/n5774457/gdal17.zip" target="_blank">gdal17.zip</a>
<br><hr align="left" width="300">
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/how-can-I-compile-GDAL-1-7-3-with-ecw-4-1-in-Virsual-Studio-2010-tp5765934p5774457.html" target="_blank">Re: how can I compile GDAL 1.7.3 with ecw 4.1 in Virsual Studio 2010</a><div>
<div></div><div class="h5"><br>
Sent from the <a href="http://osgeo-org.1803224.n2.nabble.com/GDAL-Dev-f2022644.html" target="_blank">GDAL - Dev mailing list archive</a> at Nabble.com.<br>
</div></div><br>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></blockquote></div><br>