Message if external max object not found

gh0stless's icon

For example, I would like to have a flashing signal lamp on my Max4Live UI if my own external MAX object is not found. How could you solve that?

mattyo's icon

Have a look at the Error object -- it grabs error messages from the Max window, and with a bit of message parsing and possibly some regexp, you should be able to get what you need.

\M

gh0stless's icon

Thx. Mattyo,
One more question: Since I would now like to make error handling uniform: Is it possible to generate such system errors from a max-c extension? So far, I only issue simple messages in the console.

gh0stless's icon

ah ok:

void error ( C74_CONST char *  fmt, ... )