Error 0x821403e8 on PXCV_ReadDocumentFromIStream?

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
APA-it
User
Posts: 1
Joined: Thu Oct 07, 2010 7:44 am

Error 0x821403e8 on PXCV_ReadDocumentFromIStream?

Post by APA-it »

Hello,
we use the Viewer SDK, now nearly for a year, and we are quite satisfied.

I was trying to optimize my application and got an errorcode, for which I found no documentation.

This is what i am generally doing (native C++, Vs2008)

HRESULT hr = SHCreateStreamOnFile(strFile, STGM_READ, &pStream);
hr = PXCV_Init(&m_CurPDFDoc, PXCV_SERIAL_CODE, PXCV_DEVELOPER_CODE);
if (IS_DS_FAILED(hr))
{
bSuccess = FALSE;
}
else
hr = PXCV_ReadDocumentFromIStream(m_CurPDFDoc, pstream, 0);
at the End hr==0x821403e8, I haven't found any description of this errorcode.

Maybe someone got the same Problem, or could direct me to an solution?

thanks in advance
Wolfgang
User avatar
Lzcat - Tracker Supp
Site Admin
Posts: 677
Joined: Thu Jun 28, 2007 8:42 am

Re: Error 0x821403e8 on PXCV_ReadDocumentFromIStream?

Post by Lzcat - Tracker Supp »

You can use PXCV_Err_FormatSeverity, PXCV_Err_FormatFacility, and PXCV_Err_FormatErrorCode function to get description of the error, even it not listed in help files, and use of these functions is strongly recommended.
0x821403e8 = [PDF Structure 40] Insufficient memory

If this information does not help - we will need a complete sample to reproduce a problem (including source code files and pdf file(s)). And don't forget to remove your serial from the sample, please.
Victor
Tracker Software
Project manager

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Post Reply