[gdal-dev] OGR and Delphi. OGRReleaseDatasource problem

Alexander Bruy alexander.bruy at gmail.com
Wed Oct 6 14:06:18 EDT 2010


Hi,

I've develop some GIS tools with Delphi and want to use GDAL/OGR. I can't find
any existing Pascal bindings, so I start to write them by myself. Now
I have ObjectPascal
(Delphi and FreePascal compatible) bindings for OGR.

When I compile and run small test application (simply open a shape,
display number of features
and table shema) I find that OGRReleaseDatasource return error code 6
instead OGR_ERRNONE.
Why? Maybe there are bugs in test application or in my bindings? Can
anyone look at this?

Pascal bindings and test program attached.

Thanks

-- 
Alexander Bruy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ogr_pas.tar.bz2
Type: application/x-bzip2
Size: 12121 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/gdal-dev/attachments/20101006/4e135397/ogr_pas.tar-0001.bz2


More information about the gdal-dev mailing list