Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Join Date
    Feb 2009
    Posts
    1,285

    PDF Plugin - Plugin doesn't work

    Hi to all!
    I am in trouble with the PDF plugin. I had downloaded Reteset's PDF Plugin from here, I also had downloaded the SliderEx plugin needed for the PDF sample included in the plugin's archive.
    Then, I builded the sample application and tried to load a PDF File. I had tried with the one included in the sample, Delphi.pdf, but after cliking OK on the browse dialog, I can't see any file loaded in the application. So, I had tried with another PDF file on my PC but it continues to don't work.
    I supposed there may be an error, so I added the Application.GetLastError action, but it returns 0. I've also tried to build a simple application with a PDF object wich loads a PDF file on open, but it still doesn't work. Also in my application the error returned by the Application.GetLastError action is 0 wich means the file is loaded.
    I don't know if I' ve done something wrong, is that I want to ask you.
    And, I don't know if is important: for reading the PDF files I use Foxit Reader, not Adobe Reader or something else; could this be the problem?

    p.s. I think there may be some grammatical errors in my post, I hope you understand.

    Bye!

  2. #2
    Join Date
    May 2006
    Posts
    1,443
    i hope this explains all
    Attached Images

  3. #3
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    Or the line above that hehe, I doubt it that that't the issue.
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

  4. #4
    Join Date
    Feb 2009
    Posts
    1,285
    Is there any way to use Foxit Reader instead of Adobe Reader? I hate Adobe, is much slower than a P2 PC...

    Bye!

  5. #5
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    Adobe PDF Reader required my friend, that's what the screeny, original thread and website says.
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

  6. #6
    Join Date
    Feb 2009
    Posts
    1,285
    So I can't do anything without Adobe Reader..

    thanks for help
    Bye!

  7. #7
    Join Date
    May 2006
    Posts
    1,443
    PDF object plugin is not a standalone pdf reader
    it is only a ActiveX holder , it needs Internet Explorer plugin of Adobe pdf reader
    PDF object plugin works same as other AMS objec plugins
    for example:
    Web object can not work if if you have no web browser activex
    Flash object can not work if you have no flash player installed
    Media Player plugin can not work if you have no media player installed

    this plugin is same as others, just holds ActiveX control inside of it ,if it is installed

    when you call
    Code:
    PDF.LoadFile("Plugin1", "AutoPlay\\Docs\\Delphi.pdf");
    plugin redirects your request to

    PHP Code:
    BOOL LoadFile(LPCTSTR fileName)
        {
            
    BOOL result;
            static 
    BYTE parms[] = VTS_BSTR ;
            
    InvokeHelper(0x2DISPATCH_METHODVT_BOOL, (void*)&resultparmsfileName);
            return 
    result;
        } 
    and below function sends your request to ActiveX which is running as a separate application

    PHP Code:
    InvokeHelper(0x2DISPATCH_METHODVT_BOOL, (void*)&resultparmsfileName); 
    finally; this plugin designed to hold only Internet Explorer Plugin of Adobe PDF reader

  8. #8
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    Nice explanation reteset
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

Posting Permissions

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