Re: Embed Adobe Reader
- Posted by mattlewis (admin) Jan 31, 2012
- 2093 views
buzzo said...
UPDATE:
Fixed this problem.. Pasted w32ole.ew into win32Lib..
The program starts ok.. but pdf_LoadFile( pdfCtrl, filename ) returns -1 .. not 0..
Any ideas how to fix it?
Try adding:
print_com_error( 1 )
...before you start calling COM stuff. This will output error information that is often helpful in figuring out what's going wrong.
Matt