[Closed] Proper way to reports errors to the user?
Hi,
What is the best (or standard) way to display error messages from a renderer plugin in 3ds Max 2015/2016?
GetCOREInterface()->PushPrompt() works but is single-line and too discreet.
I couldn’t figure out how to make the_listener->edit_stream->wputs() work; I get linking errors and I have no idea which static library to link against to fix the problem.
Are there other channels or interfaces available to show error messages?
Franz
Just found out that linking against Maxscrpt.lib fixes the linking errors I got when using the_listener->edit_stream->wputs().
I’m still interested in hearing advices from experienced plugin writers!
Franz
For a renderer plugin you should use the LogSys system, especially if you plan to support network rendering.
I had seen this class in the SDK documentation, but what bothered me a little was that it seemed to write messages to disk only, without any sort of visual feedback in the UI. It turns out that the Sys->LogEntry() method has the capability to open a dialog window, so all seems well.
Thanks!