WxWidgets, Mac and Acrobat 9 SDK

We are having a lot of problems in the Mac using wxWidgets whch have now started using as a cross platform replacement to ADM.
On MacOS 10.4 (Tiger):
Having the sample 'wxPlugin' from the Acrobat 9 SDK samples-folder installed in either Acrobat 9 Pro or Acrobat 9 Reader leads to malfunction in some circumstances.
The two issues we experienced are:
1. You cannot open a PDF from the Finder - it just happens nothing (if Acrobat hasn't been running before, it will start though).
2. You cannot shut down MacOS (or restart it) while Acrobat is running (it doesn't matter if there is any document open) - you have to quit Acrobat manually or "Force Quit".
This is due to the wxInitialize call during the plug-in initialization (a reduced plug-in which does nothing works, but adding the single call to wxInitialize() (nothing more) would lead to the issues described above). The following information should help to reproduce the problem:
1. The 'wxPlugin' sample hasn't been touched apart from adjusting the path to the wxWidgets headers and libraries.
2. For wxWidgets, version 2.8.7 and 2.8.8 has been used, both without success.
3. Both wxWidgets libraries have been build with the following configuration: ../configure --disable-unicode --disable-shared --disable-monolithic --enable-universal_binary
There are several other issues with the wxWidgets sample that may or may not be related to the above problems:
1. The wxWidgets message loop is never called (would be part wxEntry function normally):
2. This has more effects (but only for modeless dialogs, since modal dialogs have their own event queue while active):
a) Messages about entering the window aren't processed -> that would result in e.g. the mouse pointer being not changed, not showing up tooltips etc.
b) Idle events are never called
c) Windows are never deleted - so basically all (including the window controls) remain as memory leaks
The last two (b & c) can be solved by registering an AVIdleProc and calling there wxTheApp->ProcessIdle() ,but some messages still aren't properly processed - so modeless dialogs won't work properly.
This can be easily verified by the Acrobat 9 SDK wxPlugin sample - the mouse cursor doesn't change if you have a document open and you see e.g. the Hand, and you move over the Modeless dialog of the sample. The same is true for tooltips (but they aren't applied in the sample code) - only in certain circumstances, when the window has been active - they will work.
In order to get those events working, a call to wxTheApp->MacDoOneEvent() in the idle procedure would help, but that would make other parts of Acrobat irresponsible, so that is no solution - but might be a hint.
Regards
Michael Peters
Mapsoft

I have a plug-in for Reader 10 written using wxWidgets 3.0 under Mac OS X 10.7 and I have all problems
described in OP post. Issue with sockets is added. (when releasing socket object it has deleted twice sometimes)
In this thread Adobe says that a new wxWidges sample will be coming shortly.
The wxPlugin from SDK 11 samples looks like this:
ACCB1 ASBool ACCB2 PluginInit(void)
#ifndef MAC_PLATFORM
/* The following code is not supported on Mac. */
          wxInitialize();
          mainFrame = new AcrobatFrame;
          wxTheApp->SetTopWindow(mainFrame);
          return MyPluginSetmenu();
#else
return true;
#endif
Is that true that wxWidgets officialy not supported in Acrobat SDK?
Is there some approved and tested technique for proper using of wxWidgets with Acrobat SDK for Mac?

Similar Messages

  • Plugin created using C++ 6 and Acrobat 6 SDK Not Working in Windows

    I have an Acrobat plugin compiled in Visual C++ 6 using Acrobat 6 SDK. The plugin works flawlessly in Acrobat versions 6 to 9 in Windows XP. While the plugin is able to add a menu iterm and tool bar icon in Windows 7, it causes Acrobat to hang everytime when activated in which event I have to close Acrobat. Since Visual C++ 6 is a 32 bit app, I have to believe that Acrobat 6 SDK is responsible for the behavior described herein in attempting to get the plugin to work in Windows 7. Any comments or suggestions regarding what Visual C++ version to use along with the appropriate Acrobat SDK to get the plugin to work in Windows 7 are appreciated. In doing so, I would also be interested in knowing what backward compatibility one may expect w/regard to previous versions of Acrobat in updating the plugin to work in Windows 7. As for the answer, correct me if I am wrong but I'm thinking Acrobat 9.

    Adobe hasn't supported Acrobat 6, VC6 or the Acrobat 6 SDK for at least 5 years.  You will need to move to the Acrobat 9 SDK if you wish support.
    And Acrobat 9 and its SDK are fine with Windows 7.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Thu, 1 Dec 2011 01:15:42 -0800
    To: Leonard Rosenthol
    Subject: Re: Plugin created using C++ 6 and Acrobat 6 SDK Not Working in Windows Plugin created using C++ 6 and Acrobat 6 SDK Not Working in Windows
    Plugin created using C++ 6 and Acrobat 6 SDK Not Working in Windows
    created by gomfp49<http://forums.adobe.com/people/gomfp49> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4056529#4056529

  • I have a Mac and Acrobat Pro, how do I create an interactive PDF file?

    I have  a Mac and Acrobat Pro, how do I create an interactive PDF File?

    Hi 528!!,
    Here's some information about adding multimedia to your PDF files: Acrobat Help | Multimedia and 3D models
    Please let us know how it goes!
    Best,
    Sara

  • Mac and Acrobat 9 prof. e-mail

    Please excuse my bad english!
    I use snow leopard and Acrobat 9 prof. my e-mail rogram ist thunderbird-latest version . Whenever I try to send a pdf-document by mail or i want to create my own it appears the following: SendMail kann nicht mit Ihrem Standard-E-Mail-Client kommunizieren. Wählen Sie eine andere E-Mail-Anwendung aus.
    Is there someone being able to explain by little steps what i have to do?
    Many thanks
    Juergen

    A work around is to have the users create the PDF with AA6 compatibility (see the job settings). As an alternative, open the PDF in Acrobat and use either Reduce File Size or PDF Optimize to save the file to an AA6 version.
    They might also zip the files before sending them.

  • Flash video, Macs and Acrobat 9

    So I can now "insert" Flash video into my PDFs that I create in Acro 9 Pro. I just can't "convert" other video file types to Flash in Acrobat unless I'm using Extended on a PC, right? But once I have the video as an FLV, I'm good?
    Thanks!
    dc

    David,
    I am afraid computer Software industry-wide you will find that. And the funny thing about it, is that many applications, Including Acrobat, got their start on the Mac Platform. Because unlike the windows crowd, that unwilling to use a new product with a new ideas, The Mac crowd, was willing to experiment.
    Acrobat originated on the Mac platform. Excel if you dig really deep in history got it start as the spreadsheet/database part of Appleworks for the Apple II. There are many others. Then once the PC crowd saw oh look at this thing that the Mac people are using, let's have it too. THen because the user base is larger, Mac R&D to keep up lagged because the money numbers isn't there.
    So if your a new, Mac user be prepared to be frustrated, because of disparities. Until the Mac user base gains a a 50/50 shar will things change.

  • I have Master Collection CS6 for MAC and acrobat has not installed

    I have acrobat professional 7 as my latest version

    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
    Lightroom:  5.6| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • How to overcome 45inch size restriction on 4 x 300page PDFs ? - are  ex docs - jpgs photographed with iPhone - on Mac and acrobat pro 9

    Hi
    I have 4 x 300+ page PDFs (made from iPhone photo jpgs of old typed documents) that I made into PDFs and then tried OCR but it failed saying the pages exceed the 45 x 45 inch limit.
    Is there anyway I can reduce the 45 inch problem - for each batch/multiple page file  - and not have to resize each jpg image individually ?
    please say yes !
    I have  acrobat pro 9 ...and Photoshop cs6.
    all suggestions welcome

    Overcome the 45 inch limitation? You don't.
    What to do? Ensure the process you use to create PDF outputs a page size that does not bump/exceed 45 inches.
    Be well...

  • I am using the Adobe Acrobat Reader on a mac and I followed all the directions to copy an image but when I press paste only half of the image appears or it appears as an empty square. What can I do to fix this?

    I am using the Adobe Acrobat Reader on a mac and I followed all the directions to copy an image but when I press paste only half of the image appears or it appears as an empty square. What can I do to fix this?

    Hello,
    I would like to inform you that not all the browsers and online PDF readers support copying text from a PDF. If you have opened the PDF online, please download PDF file to your computer and then open the file in Adobe Reader.
    Please share a screenshot if the issue still persists.
    Regards,
    Nakul

  • When will the ACROBAT PDF function work again for Office 2011 for MAC and PC?

    HELP!!!!
    Adobe Tech support suggested I submit my comment to this post in hopes  that this will help resolve the issues.  I feel for them having to field  these calls.
    I can no longer convert Excel, Word and Powerpoints to PDF.  If our company converts one Office doc to PDF a day, we do at least 50 conversions to PDF.  Since the 9.4.2 update, the PDF feature does not work on MAC...and since the 9.4.4 update it no longer works on a WIN system.
    We have Acrobat 9 on all the MACs and PCs in the office.  We downloaded Acrobat X to test it out when it first launched.  Other than some nice bells and whistles with the convenient interface and new enhancements to the Portfolio feature, Acrobat X still does not do the basic function Acrobat was designed to do....convert to a PDF.
    We began converting PDF's on the WIN systems because the file size and object data handling on MAC had become difficulty over the past year (lost fonts, file size bloated, etc).  Now, nothing works on either system.
    Last year Adobe and Microsoft Office suggested we upgrade to CS5 and the new OFFICE to fix the problems.  MAC remains closed box which is why the system is so clean, but poses a real challenge when running non MAC software.  Now Adobe advises that Acrobat only works on the previous version of Office (?), but not 2007 and that they are not compatible with the new office even thought it worked just a few weeks or so ago. Unfortunately, we have used some of the new features in the new Office and now are being asked to go back a step.
    OFFICE automatically turns on your 90 day free tech support now when you call in to tell them PDF doesn't work.  They feel they are giving YOU tech support.   Last year, the Microsoft Office group advised that once they hand off to the PDF processor, that function is all Adobe.  And it seems that Apple has their own Quark processor running scripts in between the two functions which is why the PDF file sizes are bloating on MACs.
    The Adobe Acrobat engineers at AdobeMAX suggested to run Paralells or VMware on MAC in order to convert files to PDF properly/small size  (which is what they say they do to get around the object data and bloating issues internally on their own MACs).
    I know so many colleagues now who just run dual systems (WIN/MAC) so they can realize the full function of the Adobe software.  It is not convenient when traveling or cost efficient for small businesses, but that is what we had to do to get our jobs done.  I "HAD" a couple of the most incredible PDFing maching in my office until about a week ago...a $4k mega WIN System raided, 2 SDDs, 2 1TB HDDs, major video card, etc....and they are sitting lonely because PDF doesn't work anymore.  But goodness, how fast it converted things to PDF.
    Is there another patch coming imminenty to fix this issue?
    I don't really care if there is a 32 bit or 64 bit issue.  Customers pay premium price for the software which boasted 64 bit, etc and it should work as advertised. I ponder, are all my macs 64bit now???  They still don't work either.  Customers depend on the software to do even the most basic functions in daily business and should not have to spend hours on the phone trying to figure out a problem that has nothing to do with them or a workaround because their investment did not work as advertised (and has genereally worked for years)....
    One click of the button should be all that is necessary to make a PDF and make people everywhere happy when they need to send a secure output of their huge powerpoint to a customer to get business or their child's project for school that morning.
    Is there a software war going on between the companies?
    Are they rushing to market too quickly?
    Do the companies thoroughly test the patches before running the updates?
    Are there not enough API's or "hooks" allowing companies to make their products work with the different hardware, firmware, etc?
    I don't really care what the internal issues are. Just fix it!  The software should work as it is marketed (including the platform) and these companies need to get together and make it work (if that is the case) so their loyal customers can get their jobs done enabling them to purchase the next version of software that is suppose to be better than the last for their work.
    Posted Respectfully and with hope this issue will be resolved promptly!

    Mr. Jones,
    You are a real lifesaver!!!
    It worked on the Mac.  Will have to do some searches to find the same on the PC since the same is happening.
    Do you happen to know why Adobe is saying they are not compatible with Office 2011 now?  I found a link on the Adobe webite along those lines yesterday, but was not able to find it this morning to insert into this post.
    Our CEO had a real meltdown at about 2am the other morning when trying to pdf something for a meeting the next day.  Was not very pretty.
    THANK YOU!!!

  • Ducallbacks.h and Acrobat SDK XI Plug-in Development

    I am new to plugin development and am in the process of upgrading a plug-in developed under Acrobat 5.  The SDK XI API documentation under "Plug-ins and Applications > Developing Plug-ins and Applications > Understanding Plug-ins > About plug-in initialization > Handshaking" references the DUCallbacks.h header file. 
    I have that header file in the Acrobat 5 SDK, but I do not see it in the current Acrobat XI download and I don't see any usage of it in the SDK XI samples.  Am I missing files or is Ducallbacks.h no longer part of the SDK? If it's not a part of the SDK any longer, is there an updated version of the plug-in developer's guide that discusses handshaking under the current SDK?  I have searched the Adobe site and not found anything newer than what's included in the SDK download.
    Thanks!

    Thank you.  It is disappointing that Adobe is releasing an obsolete document with the Acrobat XI SDK.  I wasted several hours trying to track this down.  I will use the sample code from here on. 

  • I installed CS3 Design premium upgrade yesterday onto my new mac OS X Yosemite 10.10.1. You gave me a new serial no (Case 0186381031). I have been able to open Photoshop, Bridge, Dreamweaver and Flash. The Illustrator, Indesign and Acrobat applications ar

    I installed CS3 Design premium upgrade yesterday onto my new mac OS X Yosemite 10.10.1. You gave me a new serial number. I have been able to open Photoshop, Bridge, Dreamweaver and Flash. The Illustrator, Indesign and Acrobat applications are not in my applications folder although there are folders in there with those names containing associated items. How can this have happened and what can I do?

    Janetc72338130 what happens if you try to reinstall Illustrator CS3, InDesign CS3, and Acrobat?  What version of Acrobat are you installing?

  • Lost install disks, have CS4 and Acrobat Pro v9 serial #s, how can I reinstall software on my Mac?

    I recently had to wipe my entire hard drive on my mac book pro and need to reinstall all my adobe software. However, I have lost my install dvds. I do have all my serial numbers. How can I re-install  CS4 and Acrobat Pro v9?

    follow the directions and download the trial(s) here: http://prodesigntools.com/download-adobe-cs4-and-cs3-free-trials-here.html
    use your serial to activate.
    if you have dl difficulty, re-read the directions.

  • Can not print PDF created on Mac with Acrobat (Win and OS X)

    I created a PDF-File from "Pages", using the integrated "Print to PDF function" (OS X10.4.8)
    This file can be opened and viewed with Adobe Acrobat on the same Mac and also on another Win-XP-Machine.
    BUT: on both Machines (Mac and Win) it's not possible to print it. Only the message (translated in english) "The file can not be printed".
    I also tried Print to PDF-X and other Win-Machines, but this does not helped.
    Any Idea?

    Hi there,
    It sounds like there has been security added to this document. In Acrobat you can view the Security setting for the document by going to File > Properties (or Cmd D) and see if printing is allowed.
    If it is allowed, then it might be worth checking the cups error log to see if it explains why the document cannot be printed. You will find the log in Applications > Console. Click on the Logs icon and expand the entry /var/log. Then expand cups and click on error_log. This will show the job you have attempted to print and any error as to why it cannot.
    Paul

  • Install Acrobat Portfolio SDK and plugins in your Flash Builder programming environment

    Hello, Experts
        how would I go about introducing Acrobat Portfolio SDK and plugins to the Flash Builder programming environment ?
    -Alex

    https://learn.adobe.com/wiki/display/PDFNAV/Installing+Acrobat+Portfolios+SDK

  • I have a Mac and I have downloaded the most recent Adobe Acrobat, but files will not open.  Any suggestions?

    I have a Mac and downloaded the most recent Adobe Acrobat version, in order to open PDF's on a site I use.  They changed something recently and advised everyone to get up to date, which I did, but to no avail.  I keep getting a "waiting" message. I have used the Safari "develop" menu to simulate Internet Explorer, but with no luck.
    Any suggestions?

    Please wait...
    If this message is not eventually replaced by the proper contents of the document, your PDF viewer may not be able to display this type of document.
    You can upgrade to the latest version of Adobe Reader for Windows®, Mac, or Linux® by visiting http://www.adobe.com/go/reader_download.
    For more assistance with Adobe Reader visit http://www.adobe.com/go/acrreader.

Maybe you are looking for