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?
I checked with different resource number and it works.
At last I changed my plugin id constant and all the resource are fine.
It is not very correct because it can have a conflict with another plugin.Maybe I must request a new Id from Adobe.
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
Europe, Middle East and Africa