Re: [gdal-dev] Need help if OGR C-API (Resolved)

2010-09-04 Thread Even Rouault
Ah ok, but I wasn't refering to that. I meant that you shouldn't do OGR_FD_Release( hFDefnIn ) on a field definition returned by OGR_L_GetLayerDefn(), otherwise you'll get into memory corruption issues. Le samedi 04 septembre 2010 05:17:38, Stephen Woodbridge a écrit : > Thank you, still learnin

Re: [gdal-dev] Need help if OGR C-API (Resolved)

2010-09-03 Thread Stephen Woodbridge
Thank you, still learning my way around things. So after copying 90% of the my not working source code into the test program and it worked there, it finally dawned on me to check the Makefile. Duh! while I had removed all the shapelib calls from the source code, I forgot to check the link line