1. Home
  2. Foxit Quick PDF Library
  3. What happens if Foxit Quick PDF Library is not unlocked correctly?

What happens if Foxit Quick PDF Library is not unlocked correctly?

Atempting to use Foxit Quick PDF Library without a license key, with an expired trial license key or with an invalid license key, will result in the follow functions being being blocked:

  • DAOpenFile
  • GetInformation
  • LoadFromStream
  • LoadFromString
  • MergeDocument
  • NewDocument
  • SaveToFile
  • SaveToString
  • SecurityInfo
  • EncryptFile
  • DecryptFile
  • AnalyseFile
  • MergeFiles
  • MergeStreams
  • MergeFileListFast
  • ExtractFilePageContent
  • ExtractFilePageText
  • ExtractFilePages
  • GetFileMetadata

Check the result of the UnlockKey function

In order to reduce any confusion, you should check the result of the UnlockKey function before doing anything else. If the function returns a 0 then this means that the license key is either missing, expired or invalid, if the function returns a 1 then this means that the license key is valid and you will be able to access the full functionality of the library.

Updated on April 9, 2017

Was this article helpful?

Related Articles

Ready to try Foxit PDF SDK?
Click the link below to download your trial
Free Trial