Hi:<br><br>I have created a test program using 3 DLLs (mateus, hobu and me):<br>The app is here:<br><a href="http://3xfjvg.bay.livefilestore.com/y1pu_QS9lTIfOZVSH_Vx_e-VqQGzOFqJorMDtcJWH89ma-PMMgwIHRhigFGWwC3HDZinwQDhNcLvks/test_liblas_compilations.rar?download">http://3xfjvg.bay.livefilestore.com/y1pu_QS9lTIfOZVSH_Vx_e-VqQGzOFqJorMDtcJWH89ma-PMMgwIHRhigFGWwC3HDZinwQDhNcLvks/test_liblas_compilations.rar?download</a><br>
<br>I have and error using the hobu DLL.<br><br>the code is this:<br><br>using System;<br>using System.Collections.Generic;<br>using System.Text;<br>using System.Runtime.InteropServices;<br><br>namespace test_liblas1<br>{<br>
public class mateusCAPI<br> {<br> [DllImport("mateus_liblas.dll")]<br> public static extern String LAS_GetVersion();<br> }<br> public class hobuCAPI<br> {<br> [DllImport("hobu_liblas.dll")]<br>
public static extern String LAS_GetVersion();<br> }<br><br> public class martinCAPI<br> {<br> [DllImport("martin_liblas.dll")]<br> public static extern String LAS_GetVersion();<br>
<br> }<br><br> class Program<br> {<br> static void Main(string[] args)<br> {<br> Console.Write("choose a API (hobu=1,mateus=2,martin=3)->");<br> string read = Console.ReadLine();<br>
<br> if (read == "1")<br> {<br> Console.WriteLine("Liblas version= " + hobuCAPI.LAS_GetVersion());<br> Console.WriteLine("hobu compilation!!");<br>
}<br> else if (read == "1")<br> {<br> Console.WriteLine("Liblas version= " + mateusCAPI.LAS_GetVersion());<br> Console.WriteLine("mateus compilation!!");<br>
}<br> else<br> {<br> Console.WriteLine("Liblas version= " + martinCAPI.LAS_GetVersion());<br> Console.WriteLine("Martin compilation!!");<br>
}<br><br> Console.Read();<br><br> }<br><br> }<br><br>}<br><br><br><br><br><br>Regards.<br><br>