Skip navigation
pi-momchil
Currently Being Moderated

could not get a resource with CS5 plugin

Sep 10, 2010 1:23 AM

Hi, everyone!

I have a problem with using resources on CS5.
I am porting a well working project from CS3 to CS5. I have done     all of the operation from porting guides (CS4 and CS5).But probably     I miss something.
When I try to create an own dialog(dialog = dialogMgr->CreateNewDialog(dialogSpec, IDialog::kMovableModal);) I get an error message:

 

"Found a path to the resource directory but       could not get a resource. PluginID: 0xd6600, RsrcType: 1447642455,       RsrcID: 878136"

Does someone have idea, what must be the problem?

 

Thanks

 
Replies
  • Currently Being Moderated
    Sep 13, 2010 3:23 PM   in reply to pi-momchil

    I had similar issue when porting from C4 to C5, try to play with resource numbers, as far I remember adobe has made them smaller numbers

    Chris

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 10, 2012 5:33 AM   in reply to pi-momchil

    Had the same problem when porting to CS5.

    Changing the prefix from Adobe is not really an option... at least not a very good one.

    I solved this problem by not using the number from Adobe but the internal kSDKDefDialogResourceID

     

    // Dialog resourceID:
    #define kSomeDialogResourceID                  kSDKDefDialogResourceID + 1
    #define kSomeOtherDialogResourceID          kSDKDefDialogResourceID + 2
    #define kYetAnotherDialogResourceID          kSDKDefDialogResourceID + 3

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points