Adobe Acrobat 8 Plug-in GUI issues in Mac OS 10.4.11 using XCode 2.5
I am trying to port my plug-in to Acrobat 8. I have been maintaining this plug-in from Acrobat 5 on both PC and Mac. I am now having some trouble with the UI components of the Plug-in on the Mac. I can load and debug my plug-in on Acrobat 8, however my toolbar does not show up. Also, the modal dialog box that needs to launch does not. I am having trouble locating an example, or some documentation.
For the Toolbar button, I am using the following code from the Stamper example.
void *GetStamperToolButtonIcon(void)
#ifdef MAC_PLATFORM
extern CFBundleRef gPluginBundle;
AVIconDataRec iconData;
// Find a resource in the plugin bundle by name and type.
CFURLRef pingURL = CFBundleCopyResourceURL( gPluginBundle,
CFSTR("StamperIcon"),
CFSTR("png"),
NULL );
ASFile asf = NULL;
ASPathName aspn = ASFileSysCreatePathName (NULL,ASAtomFromString("CFURLRef"),
pingURL, NULL);
ASFileSysOpenFile(NULL, aspn, ASFILE_READ, &asf);
ASUns32 dataSize = ASFileGetEOF(asf);
ASUns8 *data = (ASUns8 *)ASmalloc(dataSize + 1);
ASFileRead(asf, (char *)data, dataSize);
ASFileClose(asf);
iconData.dataStm = ASMemStmRdOpen((char *)data, dataSize);
iconData.eColorFormat = kAVIconColor;
return AVAppCreateIconBundle6(kAVIconPNG, &iconData, 1);
#elif WIN_PLATFORM
return(AVCursor)LoadBitmap(gHINSTANCE, MAKEINTRESOURCE(IDB_BITMAP1));
#endif
This works for the stamper, and correctly displays the Stamper Icon in the toolbar, but when I try to create a new PNG file with the same name, the button no longer works. Also, if I try to change the name of the PNG file to "MyTool.png" and then the reference from CFSTR("StamperIcon") to CFSTR("MyTool") the button no longer works. Does anyone have any insight? In my research, I have come across SafeGetResource, and using the resource chain, however, I can not get this to work either.
The Modal Dialog I am trying to display is in a RSRC file, and it does not launch when I call sADMDialog->Modal() like it does in Acrobat 7, 6, and 5. Are there any Mac examples of plug-ins that use ADM, or platform specific Modal Dialog Boxes?
I have read the SDK documentation, but I can not find any code samples.
Any help would be greatly appreciated,
Thank You,
Austin
As of now I am unable to link up the objective c cocoa code when I build the plug-in. I can compile but not link. The error I get is below. Note that is that there is a -framework Carbon flag, but no -framework Cocoa flag. I have modified the Stamper example plug-in provided with the SDK and I can not find how to tweak the project settings to use the cocoa framework. If I can not figure out this linking problem, I will create a small project demonstrating the issues I am having and I will post it.
Ld "/Applications/Adobe/Acrobat 8 SDK/Version2/PluginSupport/Samples/MacShoomTool8/mac/BuildResults/obj/MacShoomTool8/MacSh oomTool8_debug/MacShoomTool8.build/Default/MacShoomTool8_debug.build/Objects-normal/i386/M acShoomTool8" normal i386
cd "/Applications/Adobe/Acrobat 8 SDK/Version2/PluginSupport/Samples/MacShoomTool8/mac"
/Developer/usr/bin/g++-4.0 -o /Applications/Adobe/Acrobat\ 8\ SDK/Version2/PluginSupport/Samples/MacShoomTool8/mac/BuildResults/obj/MacShoomTool8/MacSh oomTool8_debug/MacShoomTool8.build/Default/MacShoomTool8_debug.build/Objects-normal/i386/M acShoomTool8 -L/Applications/Adobe/Acrobat\ 8\ SDK/Version2/PluginSupport/Samples/MacShoomTool8/mac/BuildResults/obj/MacShoomTool8/MacSh oomTool8_debug/Default -F/Applications/Adobe/Acrobat\ 8\ SDK/Version2/PluginSupport/Samples/MacShoomTool8/mac/BuildResults/obj/MacShoomTool8/MacSh oomTool8_debug/Default -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Cocoa.framework -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Cocoa.framework/Headers -F. -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Cocoa.framework/Versions/A -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Cocoa.framework/Versions/Curr ent -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Cocoa.framework/Versions/A/He aders -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Cocoa.framework/Versions/Curr ent/Headers -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks -filelist /Applications/Adobe/Acrobat\ 8\ SDK/Version2/PluginSupport/Samples/MacShoomTool8/mac/BuildResults/obj/MacShoomTool8/MacSh oomTool8_debug/MacShoomTool8.build/Default/MacShoomTool8_debug.build/Objects-normal/i386/M acShoomTool8.LinkFileList -framework Carbon -framework ApplicationServices -arch i386 -exported_symbols_list Symbols.exp -Wl,-Y,1455 -bundle -mmacosx-version-min=10.3 -Wl,-dead_strip -isysroot /Developer/SDKs/MacOSX10.4u.sdk
/Developer/usr/bin/../libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
_objc_msgSend
.objc_class_name_NSObject
/Applications/Adobe/Acrobat 8 SDK/Version2/PluginSupport/Samples/MacShoomTool8/mac/BuildResults/obj/MacShoomTool8/MacSh oomTool8_debug/MacShoomTool8.build/Default/MacShoomTool8_debug.build/Objects-normal/i386/S hoomToolUI.o reference to undefined _objc_msgSend
/Applications/Adobe/Acrobat 8 SDK/Version2/PluginSupport/Samples/MacShoomTool8/mac/BuildResults/obj/MacShoomTool8/MacSh oomTool8_debug/MacShoomTool8.build/Default/MacShoomTool8_debug.build/Objects-normal/i386/S hoomToolController.o reference to undefined .objc_class_name_NSObject
collect2: ld returned 1 exit status
Similar Messages
-
I have reinstalled or repair Acrobat.
This problem shows up in Beta 12, 13 and RC1.
Beta 10 was OK.
Also note that when I click on tools then Options then Applications - Acrobat is not there also.Error "The serial number is not valid for this product" | Creative Suite
-
I need to install Adobe Acrobat plug in to enable download of PDF files
I run an Apple Mac OSX Version 10.7.5 Please advise me which version of Adobe Acrobat plug in I need, to enable me to download PDF files, which an Australian Gov. dept says I need
Either download ther trial version of Acrobat and install it or use the free Adobe reader.
Mylenium -
Can't print from Adobe Acrobat 11.0.07 on my MAC OS 10.6 to HP PSC 1350. Error: PSTOPDFFILTER/PSTOCUPSRASTER FAILED WITH ERR NUMBER 13. How do I fix it so I can print?
i am getting the same error, suddenly, on 10.9.5
-
Adobe Acrobat Pro 9 or 10 for Mac
Hi,
Is Adobe Acrobat 9 or 10 available for Mac users? If so can you please direct me to the right place for download?
I couldn't find Adobe 9 pro for Mac and Adobe 10 downloads are only for Windows. I just got CS5 Master Collection but for some reason Adobe 9 wasn't included as part of the download.Get in touch with Customer Support. There is no trial version for the Mac but you should have gotten a download path with your purchase.
-
Adobe Acrobat Standard XI print issue
When opening a PDF in internet explorer, adobe acrobat won’t read pre chosen print driver settings.
When using acrobat stand alone, not in internet explorer, it does read the print settings.
Specifically the issue is you set up print driver as single sided print under finishing.
Only when you open PDF in IE, does acrobat choose 2 sided, it doesn’t read your single side setting under finishing.
This does not happen for adobe reader by itself, with no acrobat. If acrobat is installed in addition to adobe reader, it still happens for acrobat.
Windows 7 64bit Enterprise
Internet Explorer - 10.0.9200.16897
Adobe Reader XI - 11.0.3
Adobe Acrobat Standard XI - 11.0.0 also tried update to 11.0.09Try this KB document:
Serial dialog box appears | Printing | Version 11.0.01 -
Trying to use an eFiling system getting mssg "adobe acrobat plug-in is not installed or is disabled"
I am on an IMac with Snow Leopard - I have updated ALL Adobe products. I am trying to open documents in an online filing system and I repeatedly get the message..."adobe acrobat plug-in is not installed or is disabled". Anyone have any ideas?? Thanks so much!
Firefox can find plugins in several locations, but Firefox 21 changed the location of the "shared" plugin folder so older installers like the Microsoft Windows Media Plugin no longer drop the DLL file in the correct location.
There apparently are two ways to address this:
(1) Change a Firefox preference so that Firefox checks the old location. Here's how:
(i) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
(ii) In the filter box, type or paste '''plugins''' and pause while the list is filtered
(iii) Double-click '''plugins.load_appdir_plugins''' to switch its value from false to true.
This will take effect after you restart Firefox.
(2) Copy the plugins folder to the new location. Here's how on Win 7 64-bit:
Open a Windows Explorer window to:
C:\Program Files (x86)\Mozilla Firefox
Right-click and copy the '''Plugins''' folder
Double-click the '''browser''' folder to open it
Right-click and paste
Right-click the new copy of '''Plugins''' and rename it to '''plugins'''
After restarting Firefox, the plugins in that folder should now be available.
''Edit: I suggest just doing #1.'' -
For adobe acrobat plug in why do I need to agree to also have McAfee since I already have CA security on my computer?
hello, i think this an optional bundling added by adobe - you should uncheck that download option when you don't need it.
-
I've just subscribed to Adobe Acrobat Pro, downloaded it to my MAC
I've just subscribed to Adobe Acrobat Pro, downloaded it to my MAC and every time I try to open a PDF it quits unexpectedly.
If by 11 you mean 11.0.0, I suggest that you update to 11.0.09 and try again.
-
I tried playing a you tube video, but received a message prompt to download the latest version of Adobe Flash Player. The link to Adobe stated that there are issues with MAC OS X 10.7 and Flash Player 10.3. The new version did not download. Any Suggestion
Hi Seattle
From Adobe site only!
flashplayer11_b1_install_mac_071311.dmg
Works fine.
Cheers Tomi -
Adobe Acrobat Professional 6.0 for the Mac. Can it be installed on multiple machines
I own Adobe Acrobat Professional 6.0 for the Mac and no longer have my Mac machine. I would like to send my original copy along with the serial number / license key (24 digits) to a friend in Australia. Can I do this and will it install fine for him. I am not sure if the key can be re-used.
I would appreciate a response as this is a Christmas Gift.
Tonyhttp://helpx.adobe.com/x-productkb/policy-pricing/transfer-product-license.html
-
Can I get help downloading already purchased programs Adobe Creative Suite5 Design Premium and Adobe Acrobat X Pro onto my new mac computer?
Downloadable installation files available:
Suites and Programs: CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
Acrobat: XI, X | 9,8 | 9 standard
Premiere Elements: 13 |12 | 11, 10 | 9, 8, 7
Photoshop Elements: 13 |12 | 11, 10 | 9,8,7
Lightroom: 5.7.1| 5 | 4 | 3 | 2.7(win),2.7(mac)
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'.window using the Lightroom 3 link to see those 'Important Instructions'. -
I have Acrobat 9.5 and when I try to create>pdf from scanner, it displays an error "Adobe acrobat has stopped working". Is there any way I can use this functionality?
Provide you have Acrobat 9 installed in an OS for which Acrobat 9 is compatible then you can use the functionality.
As well, you need a scanner connected, powered up, and the software installed. Acrobat 9 "prefers" TWAIN drivers.
Always visit the scanner vendor's site and download - install the latest greatest software.
n.b., The Acrobat 9.x product family passed into "End of Support" mid-year 2013.
As well the Acrobat 9.x product family is not compatible with contemporary OSs.
Be well... -
Adobe Acrobat V9 Professional crashes or causes PDFs to be corrupted when using Dragon software
Adobe Acrobat V9 Professional crashes or causes PDFs to be corrupted when using Dragon software. I use Nuance Dragon NaturallySpeaking 11.5 to assist me when I add comments to a PDF. I also use it when making additions or changes to text. When I use the two software programs together, Acrobat constantly crashes. If it doesn't crash, an error occurs trying to save the file. I entered 988 comments into a 158-pg PDF, only to find the file was corrupted and couldn't be printed. I also could not see the list of comments (click Show Comments).
These problems do not occur if I don't use both products simultaneously.Never overwrite a clip that is used in Pr. Give the
modified/corrected/updated clip a new name and import that into your Pr
project. Then Alt+Drag the new clip on top of the old clip in the
timeline to replace the clip instance.
If import-then-drag isn't your style, then right-clicking the original
clip in the Project panel and selecting Replace Footage will accomplish
the same thing.
This important rule applies in Encore as well.
-Jeff -
Adobe Acrobat Pro X 10.1.7 (Mac) does not print correctly.
I have a Mac Pro (Model 1.1) with Adobe Acrobat X 10.1.7. When an item is scanned, it appears correctly on the screen, but it does not print correctly. I am sending along screenshots of what a scanned item looks like on the screen and then what prints.
Message was edited by: DFSons Added photosThanks Michael, have tried that, no luck. I will wait a couple of days to see if any other solutions come up (or if anyone else is suddenly having the same issue) before reinstalling Acrobat.
[OK just tried sending a PDF attachment directly from another program (MYOB) through to Mac Mail and had the same problem so it is not an Acrobat issue afterall, it is a Mac Mail or Mac OS X issue. Will post this on the Apple site.]
I have resolved the MYOB issue, it was working just painfully slow. So I still have the original Acrobat Pro PDF to Mac Mail issue if anyone knows of any solutions please?
Message was edited by: jmgd
Maybe you are looking for
-
I bought a 13-inch Retina MBP in late September 2014, just a few months ago and i am starting to have problems with the screen. First of all, the screen will sometimes fade and a weird pattern will appear at the bottom of the screen in which every se
-
Hi experts, My user has defined "USD4" in currency block of GL code 310000(bank's code) in FS00.He has passed many entries in said GL code.Now while user going make payment through T code F-53 and mention currency as USD3,system shows following error
-
Just installed Safari on Sony PC. MS wireless mouse will not scroll on most pages. But will on "History" section of homepage. Help appreciated.
-
What's the best way to...
What's the best way to remove footage and projects from my hard drive... I want to make sure I get rid of everything related to certain projects... Is there a step by step tutorial somewhere on how to remove projects and thier footage one by one? Tha
-
Slow loading previews during selection process
When I am sorting photos in the library loupe mode, the thumnails always show loading as I am trying to make my pics and rejects. Any suggestions on how to speed up the process? I have already increased my cache to 100. Thank you, kapphotos