Re: [gdal-dev] Exception in GDALAllRegister()

2018-09-14 Thread FA
Hi Even, Thanks for your kind response and information. I'm sorry, I should have clarified that I'm using GDAL ver. 2.3.1. I have used /MTd both in the test app and in nmake.opt when compiling GDAL. Changing both to /MDd doesn't seem to make a difference - the same fatal exception occurs. The ca

Re: [gdal-dev] Exception in GDALAllRegister()

2018-09-13 Thread Even Rouault
On jeudi 13 septembre 2018 08:32:27 CEST FA wrote: > I have built GDAL.lib as a static library for Win32 using Visual C++ 2017. > The library uses std-lib Tools\MSVC\14.15.26726 > > Using an "empty" test application, I experience a crash in GDALAllRegister, > more precisely a NULL pointer derefere

[gdal-dev] Exception in GDALAllRegister()

2018-09-13 Thread FA
I have built GDAL.lib as a static library for Win32 using Visual C++ 2017. The library uses std-lib Tools\MSVC\14.15.26726 Using an "empty" test application, I experience a crash in GDALAllRegister, more precisely a NULL pointer dereferencing in xtree when GDALAddDerivedBandPixelFunc("real",