Acrobat Plugin Unloading

When closing Adobe Acrobat after using my plugin it throws an error.
I release all my objects ( I Think ) when the following method is called
ACCB1 ASBool ACCB2 PluginUnload ()
But still get the error.
The part which seems to be the problem is the following lines of code
  std::string str ("C:\\test.jpg");
                              asPathName = ASFileSysCreatePathName(NULL, ASAtomFromString("Cstring"), str.c_str(), 0);
                              if(ASFileSysOpenFile64(0, asPathName, ASFILE_READ, (ASFile *)&asFile) != 0)
      AVAlertNote("Could not read file...");
      bRet = false;
      return bRet;
                              *outNumASPathNames = 1;
                              *outASPathNames = (ASPathName*)&asPathName;
                              *ioChosenFilterIndex = -1;
                              *outFileSys = ASGetDefaultFileSys();
This is returning successfully and inserting a Document (test.jpg) into the current PDF.
Later on in my Cleanup code I release everything I can tell.
  ASFileSysReleasePath(0,asPathName);
          asFile = NULL;
From the Adobe SDK API it only says I need to release the ASPathName, Am I missing something here?
Cheers
Ben

Hi,
Thanks.
So I want to make sure this is because with Acrobat 9 - the new way to deal with PDF's?  Because as per my knowledge it was working fine with Acrobat 8.
Moreover, if I am understanding correctly and I have tested too, the order is important here, right? If I will load PDF in IE first and then I will work on my web site it is not creating problem but if I will launch my web site first and then open PDF within IE in different tab it is creating problem because they are using same interface and when AcroPDF instantiating overriding and failed to load plug_in
Here I have seen that both Acrobat.exe and AcroPDF.dll is using same Acrobat.dll pointing to same memory addresses and that's why problem is happening.
IT would be great if you can provide any other way to "hook" adobe because the bottom line I have to use AcroExch.App from SDK.
One last question, I have seen that if I am opening a PDF in Internet Explorer in a different tab (not in my web app) while pressing SHIFT key and the move to my web site and load different document it is working fine, so the question is what different is happening when we open PDF in IE with pressing SHIFT key and without pressing SHIFT key. IS AcroPDF.dll behaves differently while opening PDF with SHIFT key pressed?
Thanks for all your help.
Twinkle    

Similar Messages

  • How to read text and it's font details (Family and size) using Acrobat plugin?

    Hello,
           I have query about reading PDF, I wanted to extract text and it's font details (Family and size) using Acrobat plugin. How can I achieve that?
    Any suggestions are welcome.
    Thanks
    Rohit Shinde

    Look at the samples in the SDK around PDFEdit and the PDEdit APIs.

  • Adobe Acrobat plugin keep crashing

    Every time I try to view a pdf in Firefox, I get an error message stating that the Adobe Acrobat plugin has crashed.

    '''mtnharry''' (or anyone else with this problem) maybe this will help:
    ===The Adobe Acrobat plugin has crashed===
    You can get this error when both Adobe Reader X and Adobe Acrobat are installed. You can resolve the problem as follows:
    #Open the Adobe Reader X application
    #Go to''' Edit''' -> '''Preferences'''
    #Under Categories (on the left) select '''General''' (near the top)
    #Click the button '''Select Default PDF Handler''' (at the bottom)
    #Under "Select Adobe Product", open the drop-down menu and click "Adobe Reader X".
    #Click "Apply", then close Adobe Reader X
    Ref: http://forums.mozillazine.org/viewtopic.php?p=11654747#p11654747

  • Calling a method in acrobat plugin as COM obj method

    Hi all,
    I want to call a method from my acrobat plugin as a COM objects method. Can i import i.e. add reference of plugin and call the perticular method which accepts two PDDoc parameters. For this I can use any platform (JS, C#, VB.net or anything). Please help me out.

    Consider I have exported the below plugin method via COM as Irosenth mentioned above, will I be able to see the highlighting happening visually in the PDF document which is currently active when I call this COM method from my C# Winform application?
    Also consider I have the Adobe Reader plugin license, will this functionality work in Reader?
    static ACCB1 void ACCB2 HighlightWord(void *data)
        DURING
        //Create a HiliteEntry object and set its attributes
        HiliteEntry hilite;
        hilite.offset = 3;
        hilite.length = 1;
         //Get the page number of the current page view
        AVDoc currentAVDoc = AVAppGetActiveDoc();
        PDDoc currentPDDoc = AVDocGetPDDoc(currentAVDoc);
        AVPageView currentPageView = AVDocGetPageView(currentAVDoc);
        ASInt32 pageNum = AVPageViewGetPageNum(currentPageView);
        //Highlight the tenth word
        PDPage pdPage = PDDocAcquirePage (currentPDDoc, pageNum);
        PDTextSelect textSelection = PDTextSelectCreateWordHilite(pdPage, &hilite, 1);
        AVDocSetSelection(currentAVDoc, ASAtomFromString("Text"), (void *)textSelection, true);
        AVDocShowSelection (currentAVDoc);
        PDPageRelease (pdPage);
        HANDLER
            AVAlertNote("Error highlighting word");
        END_HANDLER

  • How do I install the Acrobat Plugin in Safari?

    How do I install the Acrobat Plugin in Safari?

    Hi Gaspar,
    With the Acrobat 10.1.3 update, we fixed the PDF-viewer for Safari 5.1.x.  Make sure your Acrobat is up to date via Help > Check for Updates.
    -David

  • Plugin check (incorrectly) says my acrobat plugin is out of date and takes me to a reader install

    Windows XP
    FF 20.0
    I have Adobe Acrobat X 10.1.6. and the plugin checker says its out of date.
    I don't think it is, it's just not Abobe Reader.
    I don't want to have both Acrobat and Reader. When I do, then there's two different plug-ins in FF, but they both have the same names, but they seem independent and it just seems messy. It looks as if the same plugin is on there twice, one updated and one not updated, but it doesn't seem possible to remove either one. Which is actually good, b/c one is for Acrobat and one is for Reader, which I didn't realize until I started looking into all this mess. Also, there's no point in me having Reader if I have Acrobat.
    It's weird that the plugin checker says the Acrobat plugin is out of date and directs me to the Reader 11 download to update it, eventhough I already have Reader 11 (thanks to the plugin checker). In other words, the one that is updated is Reader, but the one that is supposedly out of date just directs me to a DL that I already have installed. Sorry if its confusing.
    Now I downloaded it, and have since uninstalled it, but it seems well-known that there can be issues with dl'ing Reader when Acrobat is already uninstalled (or something), as well as when uninstalling one or the other, so now I am nervous, because I didn't take any precautionary measures when dl'ing or uninstalling Reader.
    I almost feel like I should uninstall everything (if possible) and just start fresh.
    Anyway, point is, the plugin checker is wrong, right?

    Hi jonadelman, if you have 10.1.6, you are current. It's just that the plugin checker doesn't know that both 10.1.6 and 11.0.2 are current.

  • Uninstalling Adobe Acrobat plugin 9.3.3.177

    Adobe Acrobat plugin 9.3.3.177
    Adobe PDF Plug-In For Firefox and Netscape "9.3.3"
    How can I remove this? I only have npnul32.dll (Mozilla Default) in
    C:\Program Files\Mozilla Firefox\plugins
    Windows 7/ Firefox 3.6.10
    I'd like to keep the Acrobat Standard application I have installed locally.

    once i found pluginreg.dat
    C:\Users\User\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxx.default
    no more problem ;)

  • Outdated Adobe Acrobat plugin

    Hello,
    since today, before opening a pdf document, I reach a dark page where I have to click to activate the Adobe Acrobat plugin. I have Adobe PDF Plug-In For Firefox and Netscape 10.1.5 and I knew it was outdated because I check regularly the "check plugins" page, it used to be simply paired with the yellow button and that was all. Today I get black screens whenever I try to view pdf in Firefox and I have to click on them to view pdf. From the Add-ons/Plugins control panel I know see a warning red writing above the plugin entry stating "Adobe Acrobat is known to be vulnerable and should be updated".
    I cannot seem to update because I have Adobe Acrobat X pro, and I don't want to install the reader or purchase the newest version of the pro suite. My Pc runs with WIndows XP SP3 and is quite old, all other plugins are up to date, including Java and I don't want to use the new FF built-in pdf reader.
    Any suggestion as how to disable the warnings and vulnerability screens or to update the plugin without installing Adobe Reader? Thank you

    The solution did not work for me. It had me download an msp file, but I do not have that software on my computer and do not want to download it. The description of msp on the internet sounds like downloading it will give more access to my computer than I want to give. I would appreciate clarification if I am being overly protective, but Mozilla Firefox, can you fix the problem so we can update from your button? Kindest regards, Robin

  • Why does the Adobe Acrobat plugin crash everytime I open a PDF?

    I am currently running the Firefox 11.0, which is the most up-to-date version as of this writing. Every time I open a PDF file, it says that "Adobe Acrobat plugin has crashed". I have Adobe Acrobat 9 Pro, which came as part of my school's standard software package. The Mozilla website says I have the most up-to-date version of the Acrobat plugin.
    P.S. I recently updated my version of Adobe Reader X to try to fix the problem, but that didn't work. I'm not entirely sure how Reader is related to Acrobat, so I don't know if that would affect my ability to read PDFs in Firefox.

    hi WDWPhishFan,
    Have you looked at [[The Adobe Flash plugin has crashed]] and [[Opening PDF files within Firefox]]?
    The first article has a lot of good troubleshooting steps that might help. The second article actual lists a couple of plugins that can be used for opening PDF files. I'd give both of them a try just in case.
    Hopefully this helps!

  • PDF Searching using Adobe Acrobat Plugin Find Function in Safari

    I currently incorporate the Adobe Acrobat Pro (9.1.2) plugin for viewing PDF files. I like using Safari for viewing PDFs within a web browser, but I find Safari's built-in Find function (open apple-F) inferior to Acrobat's ability to search for text within the PDF, as it never finds the words that I search for.
    My question is: Is there an efficient built-in shortcut within Safari to search text within a PDF using Adobe Acrobat's plugin Find function? If not, is there a relatively easy, keyboard-based shortcut that could be made to direct the Find function to the Adobe Acrobat plugin Find function within Safari?
    Thanks,
    Ben

    Figured it out.  It had nothing to do with the software levels of Safari or Adobe Acrobat.  Here's the fix:
    Open Finder/Applications
    Search "Internet Plug-Ins"
    Move any Adobe plug-ins to the trash
    Quit Safari
    Launch Safari
    Your pdf document should now render in Print Preview and print properly.

  • I have updated my Adobe Acrobat plugin three times today but the firefox plugin check says it is out of date, a problem as I repeatedly encounter "The Adobe Acrobat plugin has crashed" when I attempt to download pdfs.

    I am attempting to download pdf's from a library search on JSTOR. I can view the pdf but cannot download them as they say "The Adobe Acrobat plugin has crashed". I have been to the firefox plugin check and have updated Adobe Acrobat three times in the last hour, but it still says my plugin is not up to date. This leads me to believe that this may be the source of my crash errors.
    I updated Adobe Flash from the same firefox plugin check page and after one try it now says I am up to date, so my system is obviously accepting these updates.
    Help!!!!!

    The following solution is useful for people who have the full version of Acrobat 9, but are getting the error message "the Adobe Acrobat plugin has crashed". You probably want the features in the full version of Acrobat, but still need to be able to open PDF files from your Firefox browser.
    Go to Tools > Options > Applications. Scroll down and change all of the Adobe Acrobat files to open with Acrobat 9 (or whatever version you have) instead of "Use Adobe Acrobat (in Firefox)". This may not be as handy as having it use Acrobat inside the Firefox browser, but it will still let you open PDF files without having to uninstall the full version of Acrobat. Hope this helps.

  • FireFox 10.0.7 w/Adobe Acrobat plugin 10.1.4.38 issue

    Hello, everyone.
    Our internal network systems have two browsers - IE8 and FireFox10.  The IE8 browsers have security settings so high that the Acrobat plugin for it isn't even installed.  When viewing a PDF in IE8, the browser relinquishes viewing to Adobe Reader.  This presents a problem, as we have a Solr Collection indexing over 1,000 PDFs making them searchable, and when opened in a browser the PDF highlights and keeps track of where the keywords are located within.
    So we fall back to FireFox for viewing PDFs.  The search function works most adequately.
    But FireFox10 with Adobe Acrobat plugin 10.1.4.38 has another issue: hyperlinks.
    The PDFs were all created in Word 2007 using the Adobe PDFMaker plugin for Office, "Save As PDF", not "Print to PDF".  While the Reader will automatically parse an FQDN, making it a live, clickable link that will open a browser to said FQDN, FireFox will NOT.  The FQDN is blue and underscored, so it looks like a link, but clicking it produces nothing.
    We discovered (with some experimenting) that if a FQDN in Word is highlighted, copied, right-clicked and "Hyperlink" selected, then pasted into the proper field, then the link will work in FireFox.
    As I stated, we have over 1,000 of these PDFs, and we don't have the resources to edit every single one looking for FQDN text and performing the above operation.
    So, I guess what I asking is: will a future Acrobat plugin for FireFox automatically parse FQDN links?
    What options do I have in order to make the links work in FireFox, until then?
    Thank you,
    ^_^

    This is an on going issue that been going on for close to 15 years between Microsoft and Adobe.
    Try Opening Fire Fox and Upgrading to the latest version.
    Next upgrade to at least Acrobat . I've already upgraded to XI
    Maybe after 15 years the issue has been taken care of.
    dobe claims (for 15 years That Mac Office doesn't have the proper Hooks for hot Links).
    The odd thing is that Office11 is a Direct port of Office2007/2010 with code changes only for the Mac interface.
    If it's still an issue then its an Issue that Adobe is lazy and don't want to fix it.
    If your using a Mac you can open that same PDF on a PC and the links work.

  • Acrobat plugin, "external" links - how to open in _blank?

    I understand that the following questions may have been asked numerous times on this and other forums previously. Knowing that software capabilities constantly change with every new release, I wanted to clarify by gaining answers directly to the following questions.
    If a PDF document is displayed within the acrobat plugin in any web browser, is it possible to invoke a link within that PDF to open in a new browser window or tab rather than loading in the current window and navigating away from the PDF?
    Is there a cross browser solution for achieving this outcome?
    Our workflow for producing PDFs involves Indesign, is there a way we can implement this in the Indesign source by inserting Javascripts?
    If the answer to (1) and (2) is "No", are there any alternative options for achieving this?
    Any constructive insights/suggestions are greatly appreciated.

    I think part of your problem might lie in the way you are trying to use your quotation marks.  It appears you are trying to have the single quotes do what double quotes should be doing.
    document.write("<a href='"+imagelinks[ry]+"' target='_blank'><img src='"+myimages[ry]+"' border='none'></a>
    If you want to have doublequotes appear in code as doublequote characters you can try slashing them to have them read literally... \"
    document.write("<a href=\""+imagelinks[ry]+"\" target=\"_blank\"><img src=\""+myimages[ry]+"\" border=\"none\"></a>

  • Open PDF files in Acrobat plugin by default in web browser.

    Hi,,
    I am looking for a solution to open a pdf form a website or form local computer in any bowser within Acrobat plugin. I know we need to configure manually in each browser to enable pdf to be open in Acroabt console. You can see it  here     But What I am actually looking forwad is a script or something. Like if we have a document javascript to enable Acrobat plugin automatically. Something like this, which can be done automatically, not manually.
    Please share your answers.
    Thanks

    Not possible. A script in a PDF can't influence the way the browser or the system works.

  • Two Adobe Acrobat Plugins In Firefox ... Want to Remove Outdated Plugin

    Creative Cloud Customer with all Adobe software current
    Windows 8 Pro 64 bit
    Adobe Acrobat Pro XI 11.0.2
    Firefox 19.0.1
    In looking at my Plugins, I notice that I have two Adobe Acrobat, one 11.0.0.379 and the other 11.0.2.0. The last one seems to match my Adobe Acrobat Pro version number. I assume the 11.0.0.379 is outdated?
    If I am correct in my assumption, how do I remove the the outdated plugin? Please be precise and detailed as I am still learning Windows 8. In the picture below, I have circled the plugin that I want to remove.
    I look forward to your assistance.

    Okay, well I just an interesting experience.
    Here's what happened:
    Deleted oldest program without remembering to deactivate first.
    After I uninstalled, I noticed that the program listings in the Control Panel were blank. That is, both the old and new versions were gone.
    In Firefox, the first entry of Adobe Acrobat 11.0.2.0 was gone, but the other listing of Adobe Acrobat 11.0.0.379 remained
    Thinking that I erred in not deactivating first, I used Adobe's Chat to reset my counter. The nice man asked me for my email and then my order number for Creative Cloud. After I logged into my Adobe account to retrieve the information, he promptly told me that he couldn't help me and that I needed to call back on Monday using a 1-800 number. I am puzzled why we bothered with the dance of email addresses and order numbers.
    Throwing caution to the wind, I decided to try to install Adobe Acrobat from my Creative Cloud account. The worst that happen is that it will fail to load.
    I successfully loaded Adobe Acrobat without difficulty. When I viewed the installed programs in the Control Panel, I saw that I had an outdated versions. See picture below.
    Intuitively, I would have expected programs downloaded from the cloud to be current.  So I went Help | Check for Updates
    I installed the updates. See picture below for Control Panel shot.
    Now, going back to Firefox, I am exactly at the starting point.
    In summary, the "older" version appears to stay regardless of whether Adobe Acrobat is installed or not. Perhaps it is attached to Adobe Reader XI. Or, perhaps, it's just there. Installing Adobe Acrobat XI Pro seems to add two programs to the list in the Control Panel. And it seems to have two Adobe Acrobat plugins in Firefox.
    I will call Adobe on Monday with regard to the Deactivate Issue. I have a hunch that it isn't not an issue. They might be able to tell that I uninstalled and reinstalled on the same computer.
    That's it for now.

Maybe you are looking for