Hi,<br><br>Ok, I've found out what I was missing, thanks to a link in a previous post:<br><br>I've included the manifest to the ogrjni.dll by adding <br>mt -manifest ogrjni.dll.manifest -outputresource:ogrjni.dll;2
<br>in the swig\java makefile.<br><br>Best regards,<br><br>Daniel<br><br><br><div><span class="gmail_quote">On 4/15/07, <b class="gmail_sendername">Daniel Siino</b> <<a href="mailto:drsiino@gmail.com">drsiino@gmail.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br> <br>I've build GDAL on Windows XP using nmake from VC++ 2005 express.
<br>I can run ogrinfo.exe without problems. However, after building the Java binding using Swig (swigwin-1.3.31), I ran the gdalinfo test class provided and got an error:
<br>Native library load failed.<br>java.lang.UnsatisfiedLinkError: D:\ms4w\gdal\swig\java\gdaljni.dll: The specified procedure could not be found<br>Exception in thread "main" java.lang.UnsatisfiedLinkError: org.gdal.gdal.gdalJNI.AllRegister
()V.<br> <br>I've searched the forum and looked at similar issues but was not able to correct it.<br> <br>The DLL is on my path and from the error message, it is being loaded.<br>Is this an issue with the compiler messing up the name of the entry point by adding underscore?
<br>I've look at the dll using DependencyWalker and this is what I see:<br>_Java_org_gdal_gdal_gdalJNI_AllRegister@8<br> <br>Is this correct?<br> <br>As a side question, is the MITab format supported through the Swig Java binding?
<br> <br>Regards,<br><span class="sg"> <br>Daniel
</span></blockquote></div><br>