On 6/21/06, Eric Sokolowsky <[EMAIL PROTECTED]> wrote:
You're reading the file in text mode, when it should be treated as binary.
Microsoft's open() function defaults to reading as text. To read as binary,
you should add _O_BINARY to the open() call in ESRIShapeParser.cpp, line
20. (But this probably needs to be protected by a #ifdef WIN32 block.)

Thanks for spotting this Eric.

Andeas, could try this and then send me the whole modified file to merge.

Cheers,
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to