After updating the code to CS5 / CS5.5 new dialogs can no longer be loaded.
"Found a path to the resource directory but could not get a resource. PluginID: 0x7b000, RsrcType: 1447642455, RsrcID: 503810
CDialog::CreateNewDialog - panel is nil. Did you forget to create the dialog panel resource? Hit go to continue.
RsrcSpec.fPluginID 0x7b000, fIndexOrID 0x7b002 (503810)"
This was reported in thread http://forums.adobe.com/thread/718305 on Sep. 10th 2010,
but are yet to be answered.
The way to solve this is to just pick a random number thats smaller, risking that others use the same number.
Getting a new number from Adobe is not an option as it gives the same error...
So what to do ?
Thanks in advance
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