Message handler, fflush(stderr) doesn't work
-
@SPlatten
Ok then i understand it.
Im not sure how to flush its buffers then.
JS dont have a flush on its own or anything? -
@mrjj , found this, https://stackoverflow.com/questions/28412477/how-to-flush-console-log-output-on-windows
Couldn't I just flush stdout too?
-
@mrjj , ok, now I'm really confused, after adding my API routine, I can now see using the debugger than messages from JavaScript via the API call and C++ make it into the message handler, I' ve stepped through and the output string contains correct content, but for some reason I do not see the output from the JavaScript API call in the Application Output.
-
@mrjj , ok, now I'm really confused, after adding my API routine, I can now see using the debugger than messages from JavaScript via the API call and C++ make it into the message handler, I' ve stepped through and the output string contains correct content, but for some reason I do not see the output from the JavaScript API call in the Application Output.
-
@SPlatten, In the message handler, I'm going to push every entry onto a stack then have a separate thread that services the stack popping off the first from the stack.