[gdal-dev] Stack Overflow in gdal with HDF5 using VC2008

Chaitanya kumar CH chaitanya.ch at gmail.com
Fri Aug 7 12:45:37 EDT 2009


atubar,

If you can try this with VC++2005, please do. In any case please tell the
result here.

If you can, provide a sample data that gives this error so that the
situation to be understood better.

2009/8/6 atubar <atubar at 126.com>

> Hello, I am a freshman in working with Gdal and HDF5 in Visual C++ 2008. I
> have built essential dlls as those guides said. And I got gdal16.dll,
> hdf5dll.dll and more.
> I set up a project , add include and lib to this project. Then I copy some
> sample codes to test how gdal and hdf5 works.
> These codes below works successfully:
>     char *pszFormat="HDF5";
>     GDALDriver *poDriver =
> GetGDALDriverManager()->GetDriverByName(pszFormat);
> It returns an non null poDriver.
> But when I work with these codes below:
>     char* filename="..\\hdf5_test.h5";
>     GDALDataset *poDataset;
>     poDataset= (GDALDataset *) GDALOpen( filename, GA_ReadOnly);
> it occurs an error like this below:
>    Unhandled exception in **.exe:0xC00000FD:Stack Overflow
> How it comes? Is it a bug?What should I do ?
>
>
> ------------------------------
> ûÓйã¸æµÄÖÕÉíÃâ·ÑÓÊÏä,www.yeah.net <http://www.yeah.net/?from=footer>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>


-- 
Best regards,
Chaitanya kumar CH.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20090807/a6c2e2a1/attachment.html


More information about the gdal-dev mailing list