What error? Where? When? In general you can transmit error post-message to the user through Photoshop messagebox. Something like this: int16 *gResult = NULL; extern "C" __declspec(dllexport) int pascal PluginMain(const int16 selector, FilterRecordPtr filterRecord, intptr_t * data, int16 * result) { gResult = result; {} // Do stuff ErrorHandler(); return *result; } ErrorHandler() { PSErrorSuite1 *sPSErrors; sSPBasic->AcquireSuite(kPSErrorSuite, kPSErrorSuiteVersion1, (const void **)&sPSErrors); sPSErrors->SetErrorFromCString("Your error"); *gResult = errReportString; }
... View more