IDCS4 Mac - Having trouble with a selection suite.

Hello Everyone:<br /><br />I have implemented a very basic selection suite.  Here is what the code looks like in the .FR:<br /><br />  AddIn<br />  {<br />     kLayoutSuiteBoss, <br />     kInvalidClass,<br />     {<br />        IID_IWPCIMAGESSELECTIONSUITE, kWPCImagesSelectionSuiteCSBImpl,<br />     }<br />  },<br /><br />  AddIn<br />  {<br />     kIntegratorSuiteBoss,<br />     kInvalidClass, <br />     {<br />        IID_IWPCIMAGESSELECTIONSUITE, kWPCImagesSelectionSuiteASBImpl,<br />     }<br />  },<br /><br />The actual .CPP implementation is standard boilerplate changed only to render the code unique (in other words, I changed the "My" in "MyCSB" to "WPCImages", etc.).<br /><br />I will provide that code to anyone who really wants to look at it, but it was given to me by Adobe and I really haven't changed it aside from what I have said above.<br /><br />The code works in CS, CS2 and CS3, but in CS4 when I attempt this call:<br /><br />    SelectionSuite -> GetTheSelection(&selectUIDList);<br />    <br />the program errors out with the following message:<br /><br />program received signal "EXC_BAD_ACCESS"<br /><br />Here is the code in context:<br /><br />    <br />    UIDList *selectUIDList = NULL;<br />    IActiveContext *ac = GetExecutionContextSession() -> GetActiveContext();<br />    ISelectionManager *iSelMgr = ac -> GetContextSelection();<br />    <br />    InterfacePtr<IWPCImagesSelectionSuite> SelectionSuite(iSelMgr, UseDefaultIID());<br />    if(SelectionSuite == NULL)<br />       break;<br />    <br />    SelectionSuite -> GetTheSelection(&selectUIDList);<br /><br />Can anyone see where I am going wrong?<br /><br />TIA!<br /><br />John

Try:<br />InterfacePtr<IWPCImagesSelectionSuite> SelectionSuite((IWPCImagesSelectionSuite*)Utils<ISelectionUtils>()->QuerySuite(IWPCImages SelectionSuite::kDefaultIID));<br />if (SelectionSuite == NULL) {<br />  break;<br />}

Similar Messages

  • I'm having trouble with custom ringtones.  I have downloaded the free software "makeTones" and have created some ringtones.  I then copied those to Mac and played them in ITunes.  My Itunes does not have a ringtone tab.  I can not sync the ringtones.

    I'm having trouble with custom ringtones.  I have downloaded the free software "makeTones" and have created some ringtones.  I then copied those to Mac and played them in ITunes.  My Itunes library does not have a ringtones tab.  I can not sync the ringtones (or I don't know how)!  Please help.

    Yes, the file extension is M4R.  Does it matter where I save these files on my Macbook?  I then opened them in Itunes and played them.  I did find the Tones folder in Itunes but the Tones or Ringtones tab does not show up when I select Iphone (within Itunes).  When I open the Tones folder in the Library, it is empty.  Thanks in advance for your help.

  • I am having trouble with my mac book air. I think I have a virus because everytime i click on a link it openes up popup windows and other things. How do I reset teh computer?

    I am having trouble with my mac book air. I think I have a virus because everytime i click on a link it openes up popup windows and other things. How do I reset teh computer?

    Please post a screenshot that shows what you mean. Be careful not to include any private information.
    Start a reply to this message. Click the camera icon in the toolbar of the editing window and select the image file to upload it. You can also include text in the reply.

  • Hi, i am having trouble with my mac mail account, i cannot send or receive any emails because of the server connection problems. Message says it could not be connected to SMTP server. Thanks in advance for your help.

    Hi, i am having trouble with my mac mail account, i cannot send or receive any emails because of the server connection problems. Message says it could not be connected to SMTP server. Thanks in advance for your help.

    Hello Sue,
    I have an iPad 3, iPad Mini and iPhone 5S and they are all sluggish on capitalisation using shift keys. I hope that Apple will solve the problem because it is driving me crazy.
    I find using a Microsoft Surface and Windows 8 phone, which I also have, work as well as all the ios devices before the ios 7 upgrade.
    It has something to do with the length of time that you need to hold the shift key down. The shift key needs to be held longer than the letter key for the capitalisation to work. For some reason, this is a major change in the way we have learnt to touch type on computers. I am having to relearn how to type!
    Michael

  • I am having trouble with my Mac Mini's ethernet connection.   Defining a new network interface shows no ethernet adaptor.  Reloading SL from DVD repaired.  But SL update lost ethernet again.  Will Lion Fix?

    I am having trouble with my mac mini ethernet.  It had been working for weeks after an update to SL 10.6.8.
    Once it went out and i repaired it by defining a new connection from System Preferences ->Network->(left panel service, +).
    But yesterday, after a power up.  my ethernet was not working again. I tried this old trick to repair it, but the interface choices
    listed for '+' a new service did not include Ethernet any more.  And the Utilities->System Profiler->Ethernet Cards shows
    no ethernet available.
    As a last ditch effort i reloaded my original SL from DVD.  (I think it was version 10.6.4 but i could be mistaken on the version).
    The ethernet worked!  But KeyNote wasn't going to work because apparently the version i purchased depends on 10.6.8.
    So I upgraded again to SL 10.6.8 (Plus some other updates like AirPort which i don't use).
    Now the Ethernet is not working again.  I see the same symptoms as before with the Ethernet seeming not installed.
    Is this a problem seen by others?
    Would going to Lion fix the problem?
    Could AirPort actually be the culprit and not SL?
    If i stay with my original SL, would i need to repurchase a version of KeyNote for the older version of SL?

    Have you reset the SMC?
    Shut down the computer.
    Unplug the computer's power cord.
    Wait fifteen seconds.
    Attach the computer's power cord.
    Wait five seconds, then press the power button to turn on the computer.
    While you're at it, resetting the PRAM won't hurt anything and 'might' help is SMC reset didn't work (PRAM does some port control):
    Shut down the computer.
    Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.
    Something else you might try .... you don't say how you're updating to 10.6.8, however, if you're using Software Update, you might try downloading the 10.6.8 combo update, which contains all updates to 10.6. Sometimes, Software Update doesn't work quite right, and installing the combo update fixes that. Download the update from Apple's download site at http://support.apple.com/downloads/ , using Disk Utility repair permissions, apply the combo update, then repair permissions again.

  • I'm having trouble with back to my MAC.  I had everything working on my home wifi network but now I am at my daughter's house and trying to connect via a verizon hotspot wifi connection.  I'm wondering if the Verizon hookup is a problem.

    I'm having trouble with back to my MAC.  I had everything working on my home wifi network but now I am at my daughter's house and trying to connect via a verizon hotspot wifi connection.  I'm wondering if the Verizon hookup is a problem.

    I finally figured it out.  Needed to update her Airport firmware and allow guest access, and also changed Sharing preferences to Allow Access for All Users.

  • I recently added my old mac hard drive to a new macbook with an SSD as my main OSX drive.  I am having trouble with permissions in viewing my old hard drive.  What is the best way to get complete access to my old hd installed in my new Macbook?

    I recently added my old mac hard drive to a new macbook with an SSD as my main OSX drive. I am having trouble with permissions in viewing my old hard drive, when I save a permission when I reboot the full access is changed again .  What is the best way to get complete access to my old hd installed in my new Macbook?

    Open the Get Info window for the old drive. Click the Lock icon on the bottom of that window and type in your password. In the permissions area click the Plus sign ( + ) and Add your Username to it and set it to Read & Write. Close that window. you should now have full access to all the files.

  • I hope this might interest someone. The situation; 3 floors,I am having trouble with an an Airport Extreme, 802.11n on the top floor and a Mac Pro 3.1 on the bottom floor. Not always but often it has trouble seeing the Airport and making a connection. I h

    I'm not sure how to post a message. I hope this might interest someone. The situation; 3 floors,I am having trouble with an an Airport Extreme, 802.11n on the top floor and a Mac Pro 3.1 on the bottom floor. Not always but often it has trouble seeing the Airport and making a connection. I have an older Airport Express, would it help to install it? would it work best if it was installed in the same room? should it be installed half way in between? Get another Extreme? The Mac Book Pro on the middle floor can see 11 networks in the neighbourhood if that might be causing a problem or would if I installed the Express. Thank for your consideration.   

    Thanks for your time ... I appologize for the font and colour, I compossed the question in pages and failed to notice the font colour as grey ... there are a variety of computers of various ages so I think it is using a setting that allows both 5G and 2.4 ... the connection to the Airport is thru a cable modem and cable does run throuhout the house ... maybe those hard wires would be a place to look at ... do you think that putting the 'Express' on the second floor might help ... thanks again ...

  • I have a Mac, IPad, I phones, and 2 Windows Vista Pcs and I'm having trouble with the Windows Laptop staying connected.  I have to re-boot after and extended period of time please help

    I have a Mac, IPad, I phones, and 2 Windows Vista Pcs and I'm having trouble with the Windows Laptop staying connected.  I have to re-boot after an extended period of time please help.  Thanks!

    I have a Mac, IPad, I phones, and 2 Windows Vista Pcs and I'm having trouble with the Windows Laptop staying connected.  I have to re-boot after an extended period of time please help.  Thanks!

  • I'm working in Photoshop CS6 on a Mac and am having trouble when I select a Path it automatically feathers the selection border. I can't seem to find any place to adjust a feather setting. Does anyone have a suggestion? I'm using paths to silhouette an im

    How do I change a default from feathered edge to sharp edge when I select a path?
    I'm working in Photoshop CS6 on a Mac and am having trouble when I select a Path it automatically feathers the selection border. I can't seem to find any place to adjust a feather setting. Does anyone have a suggestion? I'm using paths to silhouette an image on a photograph to use in another document and I need a hard edge on it, not a feathered one.

    In the Paths panel, click the flyout menu (in the top right of the panel) and choose Make Selection (this option will only be available if you have a path selected). Reduce the Feather Radius to 0 (zero) and click OK. This setting will be the default even when clicking the Load Path as Selection button.

  • I'm having trouble with installing a 8g kit in my late 2009 mac mini. when the parts are installed all i get is a beeping sound, is there any way to get around this?

    i'm having trouble with installing a 8g kit in my late 2009 mac mini. when the parts are installed all i get is a beeping sound, is there any way to get around this?

    What is the source & link to this 8 GB kit please?
    Can you count the beeps or flashes?
    1 beep = no RAM installed
    2 beeps = incompatible RAM types
    3 beeps = no good banks
    4 beeps = no good boot images in the boot ROM (and/or bad sys config block)
    5 beeps = processor is not usable
    In addition to the beeps, on some computers the power LED will flash a corresponding number of times plus one. The LED will repeat the sequence after approximately a 5-second pause. The tones are only played once.
    Note: In this case, a flash is considered to be 1/4 second or 250 ms or greater in length.
    http://support.apple.com/kb/HT1547

  • Hi I'm having trouble downloading Adobe Creative Suite 6 teacher student addition on my mac i have downloaded it and i received a redemption coad and a serial number but when i entered the serial number it says its invalid... Please help!

    Hi I'm having trouble downloading Adobe Creative Suite 6 teacher student addition on my mac i have downloaded it and i received a redemption coad and a serial number but when i entered the serial number it says its invalid... Please help!

    i know extremely frustrating that there is no one to contact!
    i got my friend to help not sure if your having the same problem but i had to download stuffit expander from the app store to expand the zip files that you initially download you should be able to open them and enter serial number from there
    don't know if that helps theres no where that tells you how to do that so its extremely frustrating..
    hope that can be of some help.

  • Anyone having trouble with the new update for 2010 mac book air 10.8.2?

    Anyone having trouble with the new update for 2010 mac book air 10.8.2 ? My 2010 Macbook Air has crashed 15times since the 10.8.2 update. Have only once since owning it.

    Turned out the hardware was bad.  Apple exchanged it for a new Mac Air and the new trackpad works great.  Thank goodness it was a defect.  If the trackpads all worked like that I would have been bummed.

  • I`m having trouble with my new advanced system the mac os X 10.0.3

    Hello everybody...
    I need Help, I would appreciated anything anybody could do to help me...
    I`m trying to install the new software the mac os X 10.0.3 and having trouble transfering all my files form the mac os 9.2.2 classic to my new system...Do i have to erase my hard drive to do a clean install???? Could I transfer my files to my home`s computer, instead of buying a portable smartdisk hard drive of 100 Gb, and then so i could transfer my fiels back to my mac without no trouble ????
    I Hope anyone could answer to my post as soon as possible, Thanks

    Hi, John. If you weren't having trouble with Mac OS 10.0.3, it would be a major surprise. OS X 10.0.x and 10.1.x were unusable beta versions and never should have been released, in the view of most people who ever tried to run them. It would be a severe trial of your patience and a waste of your time to install 10.0.3 on your Mac.
    If you want to run OS X, buy OS X 10.2.x (Jaguar), 10.3.x (Panther) or the current version, 10.4 (Tiger). All are available at reasonable prices from AppleRescue. Tiger is also available from any Apple retailer. Carefully read the system requirements for whichever version you prefer, and be sure your computer meets them before buying. If your Powerbook only has a 10GB hard drive, install a larger one (at least 40GB is sensible, since the cost per gigabyte of smaller drives is now exorbitant compared with larger units) before bothering to install OS X.
    It would be most advisable to copy everything on your current hard drive to an external FireWire hard drive, then reformat and erase the internal drive before installing OS X on it. Doing so insures that your data is all safe and that your internal drive is in tip-top condition when the new OS is installed. After performing the installation, you can copy the contents of the external drive back onto the internal drive. The external drive will then be available as backup space for the entire contents of the internal drive, including OS X, all your applications, and all your data.
    While OS 9 is still installed on your hard drive, check to make sure your Powerbook's firmware is up to date. It will need to be brought up to date while running OS 9, before you install OS X 10.2 or higher. Here is the updater for your 500MHz Tibook:
    http://docs.info.apple.com/article.html?artnum=75132
    If the firmware has already been updated, running the updater again will tell you so and will do no harm.

  • Im having trouble with my ipad wifi connection my mac air has no issues but ipad not working

    hello,
    Im having trouble with my wifi connection.
    Ive reset the router, reset all my connections, still no good.
    It keeps spinning when trying to connect
    my mac air and other apple products are fine on same internet connection
    the cellular connection works just having issue with ipad3

    i did the reset of network settings.. still no good. recently upgraded to new os 6.1 version any way to go back to older version of os?

Maybe you are looking for