[Shapelib] adding shapelib to a C# project

David.Gancarz at ci.orlando.fl.us David.Gancarz at ci.orlando.fl.us
Mon Aug 8 03:36:00 PDT 2005


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 
:-(

Attached is a newer project that should let you see how this is done. Good 
luck.

David Gancarz

 



"White, Melanie" <mwhite at ball.com> 
Sent by: shapelib-bounces at lists.maptools.org
08/04/2005 09:47 AM
Please respond to
Shapelib Development <shapelib at lists.maptools.org>


To
<shapelib at lists.maptools.org>
cc

Subject
[Shapelib] adding shapelib to a C# project






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.
 
Can anyone offer some suggestions?
 
Melanie J. White
GIS Developer
Ball Aerospace & Technologies Corp.
mwhite at ball.com
Phone: (937) 320-7031
Fax: (937) 429-1687
 _______________________________________________
Shapelib mailing list
Shapelib at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/shapelib





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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/shapelib/attachments/20050808/f7faae1d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MapToolsArchive.zip
Type: application/zip
Size: 406745 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/shapelib/attachments/20050808/f7faae1d/attachment.zip>


More information about the Shapelib mailing list