About OSGeo.OGR.RegisterAll()?

Topics: SharpMap v2.0
May 14, 2008 at 10:05 AM
Hi!
Why do VS2005 hint an error that "OSGeo.OGR.RegisterAll()" is not exist and I need reference namespace to in sharpmapV2.0 when added gdal_csharp(version 2.0.6).dll and gdalconst_csharp.dll to the sharpmap.extension(surely I add namespace OSGeo.GDAL and OSGeo.OGR)? Have not the FwTools2.0.6 used this Function"RegisterAll()"?So how to solve this error, neglected or instead of other function? If took place of it ,which function I must use?

May 15, 2008 at 7:01 AM
do you copy all DLL of GDAL to the application directionary?.
May 16, 2008 at 4:57 AM


Ye。I add it to sharpmap.extension.