That´s right!!! I have just compiled the shapefile.dll for SmartPhones. You are very nice. Thank you.<br>  <br>  But now I have another problem, I have added the shapefile.dll to my  Compact Framework project (Add Existing Item) but I cannot acces to the  .dll when the app is running. I get the following exception when I try  to access the shapefile.dll during execution:<br>  <br>  <span style="font-style: italic;">MissingMethodException was unhandled</span><br style="font-style: italic;">  <span style="font-style: italic;">Can't find PInvoke DLL 'shapelib.dll'</span><br><br>  <br>  <br><b><i>Mateusz Loskot &lt;mateusz@loskot.net&gt;</i></b> escribió:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">  Daniel de la Cuesta wrote:<br>&gt;&gt; First of all, thank you for your response. I have done what you say<br>&gt;&gt; and I have added the sources of<br>&gt;&gt; http://mateusz.loskot.net/tmp/shapelibce.zip to my
 dll Project but<br>&gt;&gt; when I build the solution i get the following error:<br>&gt;&gt; <br>&gt;&gt; fatal error C1010: unexpected end of file while looking for<br>&gt;&gt; precompiled<br>&gt;&gt; header. Did you forget to add '#include "stdafx.h"' to your source?<br><br><br>Daniel.<br><br>I suppose you created DLL project with precompiled headers support.<br>Go to project properties dialog box and next to precompiled headers<br>select to not to use precompiled headers in the DLL project.<br><br>&gt;&gt; I am using VS 2005. Maybe it doesn´t support C code.<br><br>VS  = Visual Studio but this si a bunch of compilers: C#, VB, VC++, etc.<br>So, I'm not sure I understand the problem here.<br><br>&gt;&gt; Do I have to use a previous version os VS to generate de .dll for<br>&gt;&gt; Pocket Pc?<br><br>You need to use Visual C++ compiler in version 6.0 or any above,<br>7.0, 7.1 or 8.0<br><br>Cheers<br>-- <br>Mateusz
 Loskot<br>http://mateusz.loskot.net<br>_______________________________________________<br>Shapelib mailing list<br>Shapelib@lists.maptools.org<br>http://lists.maptools.org/mailman/listinfo/shapelib<br></blockquote><br><p>&#32;
                <hr size=1><br><font face="Verdana" size="-2">LLama Gratis a cualquier PC del Mundo.<br>Llamadas a fijos y móviles desde 1 céntimo por minuto.<br><a href="http://us.rd.yahoo.com/mail/es/tagline/messenger/*http://es.voice.yahoo.com/">http://es.voice.yahoo.com</a></font>