2008/10/13 Hallgren, Johan <[EMAIL PROTECTED]>:
> Let's see here. What are you meaning with "open-shared option" you're mention?
>
Creating the Dataset by using Gdal.OpenShared() for example.
> We tried to use Dispose() on datasource but the program crashed immediately.
> Then we used feature.
: Hallgren, Johan
Cc: gdal-dev@lists.osgeo.org
Subject: Re: [gdal-dev] C# OGR and memoryproblems.
Johan,
Assuming you don't use the open-shared option the destructor of the object
should destroy the underlying dataset. For the garbage collected environments
(like .NET) it would be reasonable to
Johan,
Assuming you don't use the open-shared option the destructor of the
object should destroy the underlying dataset. For the garbage
collected environments (like .NET) it would be reasonable to put this
mechanism into an earlier method like Dispose, however it would
require some further invest
Hello
We are using ogr to create a shapefile. We user C# as the development
environment. We now have a problem that the process that runs the code doesn't
release references to the shapefile. It's opened and created but there is no
close function I could find.
At the ogr-home-page I found OGRD