<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
I didn't entirely follow this thread. I recognize that you seem to try
to create the file on a memory card, hence the path "@\SD-MMCard\...".
Did you - for testing - try to create the file on a local hard drive?<br>
<br>
<div class="moz-signature">Best regards,<br>
<br>
Christian<br>
<small><b>Directmedia Publishing GmbH</b> · Möckernstraße 68 · 10965
Berlin<br>
<a class="moz-txt-link-abbreviated" href="http://www.digitale-bibliothek.de">www.digitale-bibliothek.de</a><br>
AG Berlin-Charlottenburg · HR B 58002 · USt.Id. DE173211737<br>
Geschäftsführer: Ralf Szymanski · Erwin Jurschitza</small></div>
<br>
<br>
thecrashteam schrieb:
<blockquote cite="mid:17641741.post@talk.nabble.com" type="cite">
  <pre wrap="">Hi  Vassilis,


I tried what you told me too, but it still not work. No error, but no
files... It's hopeless !! ^^
I think there is something wrong against me with this library !!!

Thank you for your reply !

Romain

My code : 

//création du dbf
IntPtr ptrDBFCreate = shpFile.DBFCreate(@"\SD-MMCard\TestParcelle\test");

//création du shapefile
IntPtr ptrSHPCreate = shpFile.SHPCreate(@"\SD-MMCard\TestParcelle\test",
ShapeFile.ShapeFile.ShapeType.Point);

//nouvelle colonne dans le dbf
shpFile.DBFAddField(ptrDBFCreate, @"\SD-MMCard\TestParcelle\test",
ShapeFile.ShapeFile.DBFFieldType.FTString, 255, 0);

//écriture de la valeur liée au futur shape
shpFile.DBFWriteStringAttribute(ptrDBFCreate,
shpFile.DBFGetRecordCount(ptrDBFCreate), 0, "to");

//création du point
double[] x = new double[1];
double[] y = new double[1];
double[] z = new double[1];
x[0] = 803606;
y[0] = 803606;
z[0] = 0;

IntPtr psObject =
shpFile.SHPCreateSimpleObject(ShapeFile.ShapeFile.ShapeType.Point, 1, x, y,
z);

//écriture du point dans le shape
shpFile.SHPWriteObject(ptrSHPCreate, -1, psObject);

//fermeture du dbf et du shapefile
shpFile.SHPClose(ptrSHPCreate);
shpFile.DBFClose(ptrDBFCreate);
  </pre>
</blockquote>
</body>
</html>