<DIV>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.</DIV>
<DIV>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.</DIV>
<DIV>These codes below works successfully:</DIV>
<DIV> char *pszFormat="HDF5";<BR> GDALDriver *poDriver = GetGDALDriverManager()->GetDriverByName(pszFormat);</DIV>
<DIV>It returns an non null poDriver.</DIV>
<DIV>But when I work with these codes below: </DIV>
<DIV> char* filename="..\\hdf5_test.h5";<BR> GDALDataset *poDataset;<BR> poDataset= (GDALDataset *) GDALOpen( filename, GA_ReadOnly);</DIV>
<DIV>it occurs an error like this below:</DIV>
<DIV> Unhandled exception in **.exe:0xC00000FD:Stack Overflow </DIV>
<DIV>How it comes? Is it a bug?What should I do ?</DIV><br><!-- footer --><br><span title="neteasefooter"/><hr/>
<a href="http://www.yeah.net/?from=footer">没有广告的终身免费邮箱,www.yeah.net</a>
</span>