[Gdal-dev] Registering a format driver at run-time

Peng Gao pgao at esri.com
Tue Feb 14 22:57:08 EST 2006


Frank,

I matched up the compiler flags for ECW driver and ECW SDK. It is
working now.

Thanks,
Gao, Peng


> -----Original Message-----
> From: Peng Gao 
> Sent: Monday, February 13, 2006 5:01 PM
> To: 'Frank Warmerdam'
> Cc: gdal-dev at lists.maptools.org
> Subject: RE: [Gdal-dev] Registering a format driver at run-time
> 
> > 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