Mateusz: Yes that is the case. The same application works fine with GDAL 1.5.4 but not with any newer version.
I am beginning to suspect SDE / GDAL interaction. I think SDE uses GDAL 1.4. My GDAL library is built with SDE support and I am linking in ArcObjects libraries to my application. I am linking to the GDAL static library when the crash occurs. If I try to link to the gdal_i.lib then the program does not crash but it does not let me step into any of the methods even though it is a debug library and no GDAL functions work. You mentioned "configuration". Does GDAL 1.6 and new code require some configuration on Windows XP that was not required before? Bruce -----Original Message----- From: Mateusz Loskot [mailto:mate...@loskot.net] Sent: Wednesday, June 17, 2009 1:15 PM To: Clay, Bruce Cc: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] How to delete shapefile Clay, Bruce wrote: > Mateusz: > Thanks for your reply. Unfortunately I can not get far enough to do > that. The crash is occurring down stream from OGRRegisterAll. That is > to say, the last call in my code space before the crash is > OGRRegisterAll. I can not get OGR initialized to be able to open a data > source. Bruce, Are you saying that you are unable to run this simple program successfully? #include "ogrsf_frmts.h" int main() { OGRRegisterAll(); } If you indeed can not run it, it probably means your GDAL installation is not configured properly or broken. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net This message and any enclosures are intended only for the addressee. Please notify the sender by email if you are not the intended recipient. If you are not the intended recipient, you may not use, copy, disclose, or distribute this message or its contents or enclosures to any other person and any such actions may be unlawful. Ball reserves the right to monitor and review all messages and enclosures sent to or from this email address. _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev