Two Pilots™    Home  |  Navigation  |  Site Map  |  Products  |  Download  |  Prices  |  For Partners  |  Support

All forums · Statistics · Search ·

Two Pilots forum / For software developers / E_UNEXPECTED in IpiPDFDocument2::BeginDoc
Author Message
# Posted: 2 Feb 2005 01:48


I tried your component inside our MFC VC++ application using the HDC and it works well (after too much time spent on guessing how to set height and width of a page correctly, (btw, a bit of documentation will REALLY help)

But, the real test for me is to integrate it in a VC++ COM object that reuse part of our MFC application.
This COM object is called within our other application wich is an ASP.NET web application in C#.

I'm able to instantiate an IpiPDFDocument2, calling PDF->StartEngine() but it failed on PDF->BeginDoc() with an exception wich came from an E_UNEXPECTED hresult.

Do you have a clue of what is happening ?

# Posted: 2 Feb 2005 14:13


Ok I found why, it is just that IIS does not have the permissions to write in my target dir.

Well, something else than E_UNEXPECTED would have been nice....



Powered by miniBB 2.0 RC7 © 2001-2004 Page creation time (sec.): 0.012


Page top