Am Friday, 24. February 2017 schrieb Fabian Maurer:
Right now passing something that is not a string crashes the dialog, which probably should not happen. To get the string if a resource ID has been passed you can use something like
Thanks, probably should have added this already, or at least note it. It was on my todo for a while, then I decided to first get the dialog working properly.
That's what I suspected :) In my (irrelevant) opinion, it would be fine to leave the text empty in this special case for now, but it should not crash. You could do e.g. "if (!IS_INTRESOURCE(...) && !STR_EMPTY(...))".