I want an example showing how to parse DWFX files using Dwf toolkit 7.6.
The parsing I need is using process_next_object(), and object processing by my callback.
Can anyone help me pleeeeeeeeease ?
Thank you for your question.
Please refer the DWF Toolkit samples “W2dTest” and “XPSTest” to read/write a DWFx file.
I tried to use the two samples “W2dTest” and “XPSTest", but non of two samples succeeded to load dwfx files.
I passes dwfx file path to read_test() function that exists in the two samples and I got the following results:
the following line caused a crash:
the function process_next_object() returned WT_Result::Internal_Error
Thanks for your help,
I will answer your questions in order.
2. XPSTest, this sample is to write a dwfx file; the “read_test” and “skip_test” was corrupt, please ignore the two functions.
It seems that w2dtest reads w2x and xaml files but I need to read dwfx package,
Is there a sample that reads dwfx files directly ?
You can refer to the sample code Read2DDWFxFile.cpp.
Access a broad range of knowledge to help get the most out of your products and services.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.
Upgrading to a 2015 product? Make sure to check these out 1st!