Results 1 to 40 of 91

Thread: PDF Reader ActiveX Control

Threaded View

  1. #37
    PowerPoster
    Join Date
    Jan 2020
    Posts
    5,541

    Re: PDF Reader ActiveX Control

    can make a pdfdll_api.bas,and make to *.objfile,so we no need user cdecl fixed

    Code:
    Private Declare Sub FPDF_InitLibrary Lib "PDFium" Alias "_FPDF_InitLibrary@0" ()
    Private Declare Sub FPDF_DestroyLibary Lib "PDFium" Alias "_FPDF_DestroyLibrary@0" ()
    Private Declare Function FPDF_LoadMemDocument Lib "PDFium" Alias "_FPDF_LoadMemDocument@12" (ByVal pData As Long, ByVal DataLen As Long, ByVal Password As String) As Long
    Private Declare Sub FPDF_CloseDocument Lib "PDFium" Alias "_FPDF_CloseDocument@4" (ByVal hDoc As Long)
    Private Declare Function FPDF_GetPageCount Lib "PDFium" Alias "_FPDF_GetPageCount@4" (ByVal hDoc As Long) As Long
    WHY AI NAME NOT SAME?
    _FPDF_DestroyLibrary??


    FORM_CanRedo
    FORM_CanUndo
    FORM_DoDocumentAAction
    FORM_DoDocumentJSAction
    FORM_DoDocumentOpenAction
    FORM_DoPageAAction
    FORM_ForceToKillFocus
    FORM_GetFocusedAnnot
    FORM_GetFocusedText
    FORM_GetSelectedText
    FORM_IsIndexSelected
    Last edited by xiaoyao; May 12th, 2025 at 10:06 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width