[Gdal-dev] GDAL - CSharp
rsosnowski at cableone.net
Wed Feb 11 18:06:24 EST 2009
Hi Tamas and others - thanks for the help.
By application executing directory - I've copied the files to both the bin
directory under the project and the obj, Debug directory under the project.
When I run the application in debug mode, the same problem occurs:
System.TypeInitializationException: The type initializer for OSGeo.OGR.Ogr
threw an exception
InnerException: The type initializer for OSGeo.OGR.OgrPINVOKE threw an
I am using the 64 bit compiled code from you on Vista 64 bit machine.
Any more ideas? Thanks.....
Tamas Szekeres wrote:
> You might have to copy all of the dll-s (*_csharp.dll, *_wrap.dll,
> gdal16.dll, proj.dll etc.) to the application executing directory.
> Best regards,
> 2009/2/11 Tri <rsosnowski at cableone.net>
>> Can't get GDAL / OGR to work with CSharp. Using the CSharp dlls, I keep
>> getting exceptions like:
>> OgrPINVOKE, threw an exception.
>> TO TRY TO GET TO WORK I DID:
>> - Copied the csharp dlls into project,
>> - Created a reference to the dlls.
>> What am I doing wrong?
>> View this message in context:
>> Sent from the GDAL - Dev mailing list archive at Nabble.com.
>> gdal-dev mailing list
>> gdal-dev at lists.osgeo.org
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
View this message in context: http://n2.nabble.com/GDAL---CSharp-tp2308674p2312047.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
More information about the gdal-dev