Re: [gdal-dev] C# ogr_wrap.dll exception with ogr.OGRERR_NONE

2013-04-05 Thread Tamas Szekeres
Hi, Make sure all the dependent dll-s like ogr_wrap.dll, gdal19.dll proj.dll ... are available in the appllication directory or the location added in the PATH environment variable. Best regards, Tamas 2013/4/5 Casper Børgesen (CABO) > I am experiencing some problems with C# and GDAL/OGR.**

Re: [gdal-dev] C# ogr_wrap.dll exception with ogr.OGRERR_NONE

2013-04-05 Thread CABO
Maybe I should state that I'm using GDAL 1.9.2 with VS2010. From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Casper Børgesen (CABO) Sent: 5. april 2013 10:07 To: gdal-dev@lists.osgeo.org Subject: [gdal-dev] C# ogr_wrap.dll exception

[gdal-dev] C# ogr_wrap.dll exception with ogr.OGRERR_NONE

2013-04-05 Thread CABO
I am experiencing some problems with C# and GDAL/OGR. I have a program where I just initialize GDAL/OGR with this command: OSGeo.OGR.Ogr.AllRegister(); // Here follows some IO and data processing, and its working just fine. Now I add a simple line to my program: OSGeo.OGR.Ogr.AllReg