[Shapelib] Adding new shape to shapefile
thecrashteam
didier.romain at gmail.com
Fri Sep 5 00:17:54 PDT 2008
Hi everybody,
Sorry for the delay but I had lot of work !
Concerning the dll problem, I solved it with a friend's help. I clarify that
the C++ dll was wrapped in a C# dll and it didn't work in my program.
So, the problem was the difference of the encoding strings between C # and
C++. I just have to convert C# strings (encoded in UNICODE) in ASCII (C++
encoding strings). My friend has written an other C# wrapped dll which
supports byte[] in place of strings in all methods that take into setting a
string.
Why byte[] ? because it's the returned value of the
System.Text.Encoding.Convert method.
Thank you all for your help.
I hope this post will help other people.
Romain.
--
View this message in context: http://www.nabble.com/Adding-new-shape-to-shapefile-tp17536792p19326130.html
Sent from the ShapeLib mailing list archive at Nabble.com.
More information about the Shapelib
mailing list