I am using ogr_csharp.dll in my c# program. See the following code
snippet:
using OSGeo.OGR;
namespace Test
{
public class Test
{
public Test()
{
...
Ogr.RegisterAll();
}
}
}
Then the following exception message was thrown out when the program is
executed:
{"The type initializer for 'OSGeo.OGR.OgrPINVOKE' threw an exception."}
System.Exception {System.TypeInitializationException}
Does anyone know how to resolve this issue?
Many thanks,
Genhan Chen
Cambridge Systematics, Inc.
555 12th Street, Suite 1600
Oakland CA 94607
tel 510 873 8700
fax 510 873 8701
e-mail gc...@camsys.com
www.camsys.com
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev