Print Page | Close Window

Viewer SDK 12.12 OpenFile

Printed From: Foxit's Planet PDF Forum
Category: Lets Talk PDF
Forum Name: PDF Developers
Forum Description: This conference is for PDF developers.
URL: http://forums.planetpdf.com/forum_posts.asp?TID=2027
Printed Date: 21 Sep 2019 at 6:36pm
Software Version: Web Wiz Forums 11.10 - http://www.webwizforums.com


Topic: Viewer SDK 12.12 OpenFile
Posted By: Uwe Heyer
Subject: Viewer SDK 12.12 OpenFile
Date Posted: 21 Jul 2016 at 4:48pm
Hi,

VS2013, MFC

I use below code for opening a pdf for the viewer

if (m_pPdfViewer->OpenFile(lpszPathName))
{
...
}

what I'm missing is a file share flag (exclusive, share read/write, ..)
Default is shared - but I need an exclusive open

How can I achieve this

Second question

there are a few SDK functions that expect a file handle as a parameter.

as an arbitrary example
long DQPLDACapturePage(long FileHandle, long PageRef)

How do I get this file handle inside this viewer first ?

Thanks
-Uwe



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.10 - http://www.webwizforums.com
Copyright ©2001-2017 Web Wiz Ltd. - https://www.webwiz.net