<br><font size=2 face="sans-serif">Melanie:  You will need to compile
the c source to a dll, then use .net interop to reference the the dll from
C#.  There is a sample project on the shapelib site; however, it is
somewhat out of date -- that is, buggy :-(</font>
<br>
<br><font size=2 face="sans-serif">Attached is a newer project that should
let you see how this is done.  Good luck.</font>
<br>
<br><font size=2 face="sans-serif">David Gancarz</font>
<br>
<br><font size=2 face="sans-serif"> </font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>"White, Melanie"
<mwhite@ball.com></b> </font>
<br><font size=1 face="sans-serif">Sent by: shapelib-bounces@lists.maptools.org</font>
<p><font size=1 face="sans-serif">08/04/2005 09:47 AM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
Shapelib Development <shapelib@lists.maptools.org></font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif"><shapelib@lists.maptools.org></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">[Shapelib] adding shapelib to a C# project</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=3 face="Times New Roman">I am new to C programming in general
and am not sure how to reference and/or add shapelib to my project as there
is no dll file.</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=3 face="Times New Roman">Can anyone offer some suggestions?</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=2 face="Arial"><b><i>Melanie J. White</i></b></font>
<br><font size=2 face="Arial">GIS Developer</font>
<br><font size=2 face="Arial">Ball Aerospace & Technologies Corp.</font>
<br><a href=mailto:mwhite@ball.com><font size=2 color=blue face="Arial"><u>mwhite@ball.com</u></font></a>
<br><font size=2 face="Arial">Phone: (937) 320-7031</font>
<br><font size=2 face="Arial">Fax: (937) 429-1687</font>
<p><font size=2 color=#996600 face="Times New Roman"> </font><font size=2><tt>_______________________________________________<br>
Shapelib mailing list<br>
Shapelib@lists.maptools.org<br>
http://lists.maptools.org/mailman/listinfo/shapelib<br>
</tt></font>
<p><pre>


File attachment: MapToolsArchive.zip/CreateShapefile/bin/Release/CreateShapefile.exe
The file attached to this email was removed
because the file name is not allowed.

File attachment: MapToolsArchive.zip/CreateShapefile/bin/Release/PostBuildEvent.bat
The file attached to this email was removed
because the file name is not allowed.

File attachment: MapToolsArchive.zip/CreateShapefile/obj/Release/CreateShapefile.exe
The file attached to this email was removed
because the file name is not allowed.

File attachment: MapToolsArchive.zip/MapTools Assembly/bin/Release/PostBuildEvent.bat
The file attached to this email was removed
because the file name is not allowed.

File attachment: MapToolsArchive.zip/NetTest/bin/Release/NetTest.exe
The file attached to this email was removed
because the file name is not allowed.

File attachment: MapToolsArchive.zip/NetTest/bin/Release/PreBuildEvent.bat
The file attached to this email was removed
because the file name is not allowed.

File attachment: MapToolsArchive.zip/NetTest/obj/Release/NetTest.exe
The file attached to this email was removed
because the file name is not allowed.

File attachment: MapToolsArchive.zip/shapelib(vc7.1)/Release/NetTest.exe
The file attached to this email was removed
because the file name is not allowed.

File attachment: MapToolsArchive.zip/shapelib(vc7.1)/Release/Project1.exe
The file attached to this email was removed
because the file name is not allowed.

File attachment: MapToolsArchive.zip/shapelib(vc7.1)/Release/Release.zip/NetTest.exe
The file attached to this email was removed
because the file name is not allowed.

File attachment: MapToolsArchive.zip/vb6/Project1.exe
The file attached to this email was removed
because the file name is not allowed.
</pre>