WriteDocumentW error

This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-Tools SDK of Library DLL functions(only) - Please use the PDF-XChange Drivers API SDK Forum for assistance with all PDF Print Driver related topics.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Sean - Tracker, Chris - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software, Andrew - Tracker Support, Tracker - Clarion Support, John - Tracker Supp, Support Staff, moderators

Post Reply
lanmicro
User
Posts: 27
Joined: Wed Jun 21, 2006 6:25 pm

WriteDocumentW error

Post by lanmicro » Mon Aug 04, 2008 6:53 pm

WriteDocumentW when called from WriteDocument gives me an error -2113394923. The temporary file exists in my temp subdirectory and the file name that I am attempting to write is
"c:\dmrs6tst\pdfs\0086946_Velez_Anna_Marie_00349269.pdf".

The dmrs6tst directory exists and the pdfs directory exists.

What does the error -2113394923 mean?
Gregory C. Bailey

Ivan - Tracker Software
Site Admin
Posts: 3607
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada
Contact:

Re: WriteDocumentW error

Post by Ivan - Tracker Software » Thu Aug 14, 2008 3:19 pm

This error means: DPro_Err_DocHasNoBookmarks - "Document has no bookmarks".

Looks like into your code you had remove all bookmarks and then save the document.
In this case WriteDocumentW will return this error.

Trouble will be fixed into the next build.
Work-around for now -- add root bookmark item to the document.
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.

Post Reply