Warmerdam [warmer...@pobox.com]
To:Seung Ae Lim [sa...@pixoneer.co.kr]
Cc:gdal dev [gdal-dev@lists.osgeo.org]
Sent:Fri , November 08, 2013 01:31 AM
Subject:Re: [gdal-dev] NewDataset and SetBand error
Seung,
If the fields, like papoBands in the dataset seem ok before stepping into
SetBand
Dear,
I make a console application with VS2010 linking gdal_i.lib.
The steps are :
1. Create New Dataset and Band in main.cpp
class XXDataset : public GDALPamDataset
{
public:
XXDataset() {};
~XXDataset() {};
static GDALDataset* Open(GDALOpenInfo*);
};
class XXRasterBand
Seung,
If the fields, like papoBands in the dataset seem ok before stepping into
SetBand(), and corrupt once you are inside I would suspect that GDAL and
your application have been built with different gdal_priv.h include files
*or* with different structure alighnments flags for Visual Studio.
@lists.osgeo.org]
Sent:Fri , November 08, 2013 01:31 AM
Subject:Re: [gdal-dev] NewDataset and SetBand error
Seung,
If the fields, like papoBands in the dataset seem ok before stepping into
SetBand(), and corrupt once you are inside I would suspect that GDAL and your
application have been built