On Saturday, 15 February 2014 3:00 AM, Akihiro Sagawa wrote:
[My idea] static int some_function(void) { /* ... */ output_write(STRING_FOO); output_write(STRING_BAR); /* ... */ }
static void __cdecl output_write(UINT id, ...) { /* variable declarations */
if (Silent) return; /* do nothing */
/* then, LoadString, FormatMessage, etc. */ }
Does this work for you?
Yes. This makes perfect sense now.
Thank you.