[Gdal-dev] Registering a format driver at run-time
Peng Gao
pgao at esri.com
Mon Feb 13 20:00:35 EST 2006
> Gao,
>
> Actually, I was thinking the problem might be between the ECW
> driver and the underlying ECW SDK, not between the GDAL or
> application DLL
> and the GDAL driver plugin. But any of those *could* be an issue.
>
> Indeed, calling GDALClose() is the application is generally
> preferred to invoking delete directly on a dataset pointer
> for the reason given.
>
> You might want to try commenting out the "delete poFileView"
> too, and see if that happens.
>
> What version of the ECW SDK are you using? I think I may
> need to try and reproduce the problem.
>
Commenting out the "delete poFileView" too fixed the exception.
I am using ECW SDK 3.3 RC2, built using VC++ 7.1 as three separate
release
dlls, NCSEcw.dll, NCSnet2.dll, and NCSUtil.dll.
Gao, Peng
More information about the Gdal-dev
mailing list