I have a problem with parsing W2D file. When I try to read objects by function process_next_object() some first opcodes read correctly (these opcodes are ASCII and Extended_Ascii), but next opcode reading failed with error "WT_Result::Corrupt_File_Error".
WT_File::read ... at file.cpp:2846]
WT_String::materialize ... at wtstring.cpp:463]
WT_Text::materialize ... at text.cpp:292]
WT_File::get_next_object ... at file.cpp:1578]
WT_File:rocess_next_object ... at file.cpp:1530]
mainW2DComponentsExtraction::ExtractMainW2DComponents ... at src/MainW2DComponentsExtraction.cpp:25]
Sample of project is attached. Need to change path to DWF Toolkit in "Include Directories".
Any idea? Is it bug in DWF Toolkit?
My operating system is Ubuntu 10.10 64bit. I compiled library independently (don't use binary files).
I try to use DWF Toolkit on Ubuntu 32bit and all is good. Document is parsed without any problem.