[Mac CS2] ISerialNumber issue

Hello,<br /><br />My plugin is getting the serial number of the current copy of InDesign at Load() time from my plugin's entry point doing this:<br /><br />InterfacePtr<ISerialNumber> serial(gSession,IID_SERIALNUMBER);<br /><br />This had worked just fine - as long as I didn't need to addin a selection suite to my plugin . . .<br /><br />But at the exact moment I do add a CSB Addin - within my plugin's .fr file - ISerialNumber returns a nil pointer, breaking my existing code to check plugin loading conditions.<br /><br />First of all - I must be missing something important in here since I don't see how adding a CSB in resources could break ISerialNumber interface in my plugin entry point: I would appreciate any comment or advice that would help me making some sense of this strange behaviour.<br /><br />Last of all - beyond the theorical side, always interesting but hardly conclusive - I would appreciate any suggestion for a work around, since my plugin do need a selection suite AND to get InDesign serial number at loading time - by customer specifications.<br /><br />Best regards<br /><br />Patrick Perroud

I'd guess that with CSB your plugin is instantiated earlier on during startup or even initalization. At least in theory, plugins should become loaded only on demand and eventually even unloaded when they're not any more needed. As you mention startup service is later, this sounds reasonable.
How something as the selection architecture can cause such an early instantiation that the object model is not yet established for the session boss feels a bit strange, but sh.t happens. Maybe someone has to see how much memory to reserve for those selectionext stub objects?
In the dark age of probably ID2 I learned to not rely on the effects of plugin-load returning false, because at that point in time my menu paths were already established - remember, menu and action filters are only invoked when the workspace is rebuilt, which is far more frequent in plugin development cycle rather than real world. I doubt menu code has improved in this regard e.g. to verify the existence of the action component only for plugins that decided to load. Maybe its time to give dynamic menus a try, or just disable by default.
Regarding facades - this pattern is roughly the same high abstraction level as selection suites, but located on the utils boss and working on argument specified objects themselves rather than indirectly on the selection. Ideally, the CSB part of suites could just apply facade methods to the selected target entities. Especially if you don't have a selection around these facades should be very useful, e.g. instead of yourself creating and processing command objects.
Dirk

Similar Messages

  • I have an 6 year old mac mini having issues. I can turn it on, get the apple logo and blue screen and nothing else.....help!!

    i have an 6 year old mac mini with issues that started two weeks ago. I can turn it on , get blue screen and turning circle and nothing else......help !

    Hi,
    Have you tried some of these? http://support.apple.com/kb/ht1533
    The first things I would try would be to press shift during start up, this will boot into safe mode.
    I think you'll need to purchase a copy of Snow Leopard to re-install the OS.
    There's another couple of suggestions here; http://support.apple.com/kb/TS1417 where you can boot into single user mode and look at repairing disk permissions if that's the problem.
    I would hope that if you could boot into safe mode or single user mode, then that may automatically rectify your current issue. If not, then I'm pretty certain that a fresh install will be the ultimate answer.

  • BT Cloud App for Mac - Upload freeze issues?

    Anyone experiencing freeze issues during upload sessions? 
    I just downloaded the app yesterday and kicked off an upload of 20K (ish) files.  It progressed nicely through the day, but clearly froze at some point during the night.  Following a reboot I've seen a further freeze in the last couple of hours and resorted to closing/re--opening the app. 

    Hi there, 
    Thanks for replying.  I have had issues with this continually throughout the upload.  I've managed to back-up just over 8Gb since Saturday afternoon, but not without a bit of coaxing (closing and re-starting the app every time it appears to freeze.).  In fact my upload has just finished within the last few minutes.  I've left it on after I've gone to bed on two evenings, but it's clear by morning that the app froze at a much earlier point.  I'm not on Infinity yet, but I do get a rock solid 1Mb upload so whilst the upload rate isn't wild, it would be adequate if not for the reliability issue.  
    Basically the client seems to freeze after a certain time, but there doesn't seem to be any particular pattern in terms of when it happens. 
    I'm really excited about using BT Cloud, having had problems with several other similar services.  I love the fact that it doesn't mess with your local file copy, and that it doesn't expect the user to work 'in the cloud', and that it iteratively looks for changes and just deals with them.  
    The iPad app seems pretty good, other than the wildly random way the sub folders in my Documents folder display.  I have a lot of sub folders.  I know there's a search bar, but still, a simple alphabet order approach would be better. 
    Happy to provide any further input wrt the Mac app stability issue. 
    OS X (10.8.5) 
    Safari 6.0.5 

  • Post Moved Mac Port Forwarding Issues

    Post Moved to Other BB Queries http://community.bt.com/t5/Other-BB-Queries/Mac-Port-Forwarding-issues/td-p/550779
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

    Does this help...?
    http://community.bt.com/t5/Other-BB-Queries/Port-forwarding-and-Loopback-DO-work-YMMV/m-p/538328

  • Where can I get a Mac CS2 or 3 that works on an Intel computer?

    Where can I get a Mac CS2 or 3 that works on an Intel computer? My CS2 on a G4 doesn't work.
    Björn

    @Eugene – CS2 should install on Macs with OSX up to version 10.6.8. An older OS component is required: "Rosetta". With OS X 10.7 and above the install is not possible, because "Rosetta" is no longer supported in 10.7 and above.
    Uwe

  • Mac/forfox/ebay issue

    I am having a problem with ebay.de on firefox running on a mac.
    It started when you developed and launched the 4.0. It doesn't show the ended button. only when I reload it appears for a split second. If I open it in a external window its working and even the button is shown. But not in the main window.
    It seems to be a Mac/Firefox/Ebay issue
    Best regards
    Brian

    This is what Im talking about

  • Mac Alert systems issue

    Hello I just got an Mac Alert systems issue security warning on my screen. I tried getting apple to help me out but they directed with firefox when the problem is Safari. I unistalled Safari and then redownloaded but it still shows up. What do I do

    Hello
    I tried to relaunch while holding down shift key and it didnt do anything to solve the issue.

  • Mac Pro Display Issue

    Mac Pro Display Issue - Unexpectedly Sleeps and Freezes
    Just since a couple of days my Mac Pro desktop has been having display issues. Unexpectedly the screens go into sleep mode, it turns black and freezes, the computer doesnot respond to the keyboard or mouse.
    At first I thought this was related to Chrome, and switched to Firefox, but the computer is still having the same issue. I have to shut down and restart each time it gets stuck.
    I even went into preferences and changed the energy saver settings to "Never" allow display or harddrive to sleep. But this problem is stil happening.
    Does anyone have the same problems? Or a solution?

    I cleaned out my mac with compressed air, it was dusty, but the display flickering happened again.
    So I followed your advice and installed:
    Temperature Monitor
    http://www.bresink.de/osx/TemperatureMonitor.html
    Which showed that my memory module 1B and 2B were 70 - 75'C(160 -167'F). There was no reading for the graphic card so I couldn't tell if that was over heating.
    Then I installed:
    smc fan controller
    http://www.macupdate.com/app/mac/23049/smcfancontrol
    and increased the memory_cpu fan speed which lowered the temperature of the ram to 60'C (143'F).
    I even changed this ram's placement and put it in different slots.This ram was the same temperature in the new placements.
    Also this is the kingston 2gb ram without heatsinks. Ive used it for 1.5 yrs, and this is the first time its giving me these problems.
    Do you know how I can check if the graphic card is over heating? or is the problem just with the ram?
    Thank you for all your help!

  • Cannot log into facetime for mac - says network issues - anybody help?

    cannot log into facetime for mac - says network issues - anybody help?

    cannot log into facetime for mac - says network issues - anybody help?

  • Mac mini having issues with system preferences retaining settings

    Mac mini having issues with system preferences retaining settings; this was present with Mavericks and now Yosemite after installation.  Did try removing com.apple.systemprefs.plist file (library/preferences folder) to trash, but couldn't find it in trash in order to empty it.  Upon reboot the file is still missing.  Please don't suggest reloading Yosemite, have very slow internet connection, Yosemite took 7-8 hours to D/L.
    Any troubleshooting suggestions out there?  thanks

    Well, I'd open Font Book, it's included with OSX, & see what it says for Validate & Duplicates.
    I would also like to add I am new to Apple computers and I'm doing my best to stay up to par with whats what and understanding!
    No problem, we were all new to everything once, do let us know if you need more help or clatification.

  • Mac mini having issues with video and sound

    all of the sudden my mac is having issues playing video or sound. videos or songs will start but only play for a second or two before freezing. This happens with videos on my mac, Youtube, spotify... pretty much across the board!

    Well, I'd open Font Book, it's included with OSX, & see what it says for Validate & Duplicates.
    I would also like to add I am new to Apple computers and I'm doing my best to stay up to par with whats what and understanding!
    No problem, we were all new to everything once, do let us know if you need more help or clatification.

  • Hello i want re-install acrobat 7 mac (CS2 bundle) i download the CS2 without activation and i t work but for acrobat i find only the PC version link.

    hello i want re-install acrobat 7 mac (CS2 bundle) i download the CS2 without activation and it work but for acrobat 7 i find only the PC version link.

    Yes but my customer have an old MacPro on 10.5.
    after hard disk replacement i want re-install CS2 with AC7 but its inposible to use original cs2 disk and serial  because the autenfication server is closed.
    I find a official link to download the CS2 without activation but there is no link for acrobat 7 mac
    Téléchargement des produits CS2 et d’Acrobat 7
    And the new CS2 number and the old 'customer license' not work
    My customer is not ready to change his machine and all software.

  • ID CS2 Software issues on multiple drives on Mac Pro

    While trying to launch InDesign CS2 on a new Mac Pro I found it did not want to launch from the second drive where I keep my customer files. To resolve this issue I reformated the 2nd HD as a Mac OS Extended (Journeled) format which fixed the problem. I don't understand what makes the differance with the operation but would like to know. Any idea.

    I am assuming this is a custom-built dust prevention solution, yes?
    Anyways, I received my replacement SuperDrive and just realized that due to Windows and Mac's limitations in regards to hard drives larger than 2.2 TB, I can't have any of my 3TB drives with both OS X and Windows without having at least two separate HFS partitions on them since the Windows partition must be in the fourth partition, requiring OS X to be in partition 2, Recovery in partition 3, and the combined size of these first four partitions must be under 2.2 TB.
    At least that's my understanding.  I currently have three 3 TB drives and one 1 TB drive (which contains Windows XP and 7 only).
    I'm not really not sure if Windows has to be in the fourth partition because as I mentioned, my 1 TB drive has EFI in partition 1, Windows XP in partition 2, and Windows 7 in partition 3.  I have OS 10.9 on one 3 TB drive, OS 10.7 on the second 3 TB drive, and no OS on the third 3 TB drive.  I would prefer to install Windows 8 on that third 3 TB drive and yet have only one HFS partition because my desktop is already seemingly over-crowded with all the internal drives and partitions it has (I also have a 500GB SSD drive which is my 10.10 boot volume, plugged into one of the two unused SATA motherboard ports).
    My plan is to first determine if I can now break the 1 TB drive barrier I ran into before and install two Windows OSs on a 2 TB drive (technically, I am going to clone my 1 TB Windows partitions onto the 2 TB drive).  Next, I will attempt to partition a 3 TB drive with Windows 8 in partition 2 and HFS in partition 3.

  • CS2 on a 10.5.8 G5 Mac. Updater Issue?

    CS2 on a 10.5.8 G5 Mac. Logic board failed, replaced that which meant that existing CS2 install no longer activated on system. Successfully dl'd and installed the version of CS2 which does not require activation. Problem is that is v9.0 and I had been using v9.0.2 which one of my plugins require to activate. Anyone know how to get a 9.0.2 upgrade? Updater says 9.0 is current -- although curiously also says cannot determine the status of the updater app. Would be nice to return this Mac to production, TIA for help!

    The max OS for all Macs with a PowerPC processor is Leopard OS 10.5.x.
    If you are going to consider getting a newer, but used, Mac, here's the requirements for Lion.
    Lion 10.7 System Requirements
        •    Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7, or Xeon processor (most models released since late 2006 - early Intel-based Macs with Core Solo or Core Duo processors aren't compatible)
        •    2GB of memory (recommend at least 4GB -- and ideally even more, as you'll see benefits in many computing tasks)
        •    OS X v10.6.6 or later (v10.6.8 recommended) for Lion download from Apple App Store; or Leopard 10.5.x if using Lion on USB drive
        •    7GB of available space (10GB recommended)
     Cheers, Tom

  • Mac- PS CS2 font issue (probably)...

    Hi all!-
    I just rearranged all of my fonts (using font agent pro) and now, any time I do ANYTHING, I get "Could not complete your request because of a program error" I've never had a problem with CS2- and I'm thinking it must be a font that is now turned off that it needs to access. Is there a list of fonts available that PS needs?
    I can manually turn those on- if I just knew hat they were.
    Or maybe it's something completely different.
    Any help is greatly appreciated!

    Hi Thank you so much for your comment
    First I tried :http://helpx.adobe.com/photoshop/kb/troubleshoot-fonts-photoshop-cs5.html
    and followed all the solutions but it didn t work out.

Maybe you are looking for

  • HT 1222 After Update App Problems ! Adobe Creative Cloud IllustratorCC

    hello everybody, so i'm runing mavericks 10.9.2 and today afternoon i saw an update on app store .. made it and after the safari update ... my app Adobe Illustrator CC doesnt works well ... it open but when i click open file or new file it crashes ..

  • Adobe Photoshop Elements 5 - Import to LR (60k images, success!)

    I have been struggling to get an import of my PSE 5 library to successfully complete into Lightroom without crashing. Ready to give up I tried the following which worked like a charm: In Photoshop Elements 5: File -> Catalog -> Recover I ran the abov

  • LOG4j   problem in Java application

    Hi, I am using a standalone java program in my application. This program consists of 5/6 classes. These Class es are communicating Via method call. Now I have to implemented log4j logging mechanisim. in the main class , if I write /*  STATIC BLOCK TO

  • Issue with comcast sent email syncing between IPad and MacBook Air

    When sending email from comcast account on my iPad the emails  don't show up in sent mail on my MacBook mail application, why not? This is a problem when following up on key communications during a consulting project.

  • Adobe Premiere Pro 7.0 Problem

    I'm operating Adobe Premiere Pro 7.0 and lately when in capture mode frames are slipping making it impossible to download new video.  Can anyone help?