How can I sense the situation when the error message is ouputted?
how can sense situation when error message ouputted?
what error? where? when?
in general can transmit error post-message user through photoshop messagebox. this:
int16 *gresult = null;
extern "c" __declspec(dllexport) int pascal pluginmain(const int16 selector, filterrecordptr filterrecord, intptr_t * data, int16 * result)
{
gresult = result;
{} // stuff
errorhandler();
return *result;
}
errorhandler()
{
pserrorsuite1 *spserrors;
sspbasic->acquiresuite(kpserrorsuite, kpserrorsuiteversion1, (const void **)&spserrors);
spserrors->seterrorfromcstring("your error");
*gresult = errreportstring;
}
More discussions in Photoshop Plugin and Companion App SDK
adobe
Comments
Post a Comment