Hai Frank,<br> I am kiruba, I just want to know whether we can use gdal14.dll for visual c++ 6.0. Accually i am able to read the layer counts(19) for this chart (US1BS04M.000) using borland builder compiler. When i dump this chart using command line tool i got same layer count(19), but when i am opening this chart (US1BS04M.000) with visual c++ 6.0 i am getting layer count as 5. if i continue to draw my chart with this, i am getting unhandled exception error. The following code i am using to get layer count.<br> OGRDataSourceH m_pDS;<br> OGRSFDriverH m_pDriver;<br> int drivercount = OGRGetDriverCount();<br> m_pDS = OGROpen("US1BS04M.000",0,&m_pDriver);<br> int LayerCount = OGR_DS_GetLayerCount(m_pDS);<br>
i am getting same divercount(16) in both(borland,VC++). but LayerCount i am getting 19 in borland, 5 in VC++. i attached this chart for your referance chart (zipped) size is 45kb. can you please tell me how to handle this.<br> <br> Regards,<br> kiruba.<br><p> 
<hr size=1>Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. <a href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ "> Try it now.</a>