Hello All, I am working on display of S57 vector data using C# , visual studio 2005. The Operating system is Xp. The library is gdal/ogr . As a first step, I am able to use c-sharp swig binding dll as obtained from FWtool 2.4.2...
I have included the required c-sharp dll's in reference of my project. I have also placed all wrap dll's and other dll's found in bin of FWTools in the bin of my application project and the code is compiling well. The code I am trying to execute is ogrinfo from c-sharp sample of gdal/ogr as in the follwoing link while the error is produced on line 70: Ogr.RegisterAll(); http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/csharp/apps/ogrinfo.cs When I execute it, the first function (Register All) of gdal/ogr throws an exception. the error is: ""The type initializer for 'OSGeo.OGR.Ogr' threw an exception." " The issue is somewhat similar to the posted in the following links. http://n2.nabble.com/question-about-ogr-td2034353.html#a2034353 <http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/csharp/apps/ogrinfo.cs> Please help me in rectifying the issue. -- Thanks & Regards Rubina Sultan
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev