Planet PDF Forum Planet PDF Forum
  New Posts New Posts RSS Feed - Viewer SDK 12.12 OpenFile
  FAQ FAQ  Forum Search   Register Register  Login Login

Hi, welcome to the Foxit Planet PDF Forum. If you have PDF or Adobe Acrobat questions then the right place to ask them is here, in this forum.

Viewer SDK 12.12 OpenFile

 Post Reply Post Reply
Uwe Heyer View Drop Down
New Member
New Member

Joined: 21 Jul 2016
Points: 1
Post Options Post Options   Quote Uwe Heyer Quote  Post ReplyReply Direct Link To This Post Topic: Viewer SDK 12.12 OpenFile
    Posted: 21 Jul 2016 at 4:48pm

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 ?

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.10
Copyright ©2001-2017 Web Wiz Ltd.

This page was generated in 0.031 seconds.