<div dir="ltr">David,<div><br></div><div>You should anyway use a consistent build along your system or make sure you use your own version of gdal dll which is compatible with your plugin. Mixing dependencies from different sources, compiled by different version may cause unpredictable issues and crashes. You may either think to upgrade your dll for VS2008 or isolate your application to load your specific version. Not sure how that can be done technically without a more detailed description of your software components/architecture.</div>
<div><br></div><div>Best regards,</div><div><br></div><div>Tamas</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/6 David Szlucha <span dir="ltr"><<a href="mailto:David.Szlucha@exelisvis.com" target="_blank">David.Szlucha@exelisvis.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal">I have a GDAL plugin that is built with VS 2005 SP1 that I’m trying to use with a GDAL 1.8 DLL that was built with VS 2008. I cannot rebuild the GDAL 1.8 DLL as it is provided by a different vendor/application.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I’ve found that the GDAL utilities crash when they are exiting (as well as some functionality in the vendor/application that our plugin was built for) in Windows 7. This does not seem to be a problem in Windows XP. <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I have limited information in the debugger but I suspect the issue might be in the GDAL driver manager deconstructor as I have created a “dummy” GDAL plugin that simply registers itself as a plugin and does nothing else and exhibits the same crash.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">After some internet searching it looks as if this problem has occurred with other GDAL plugins and the solution was to rebuild the plugin using the same compiler that built the GDAL DLL.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Since my project consists of several other DLLs that I can’t readily be updated to VS 2008 I’m wondering if anyone has come across this issue in their own plugins and may have attempted to fix the issue with mixed compiler versions?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thanks!<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p><span class="HOEnZb"><font color="#888888"><p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">David<u></u><u></u></p></font></span></div></div><br>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></blockquote></div><br></div>