#114687 - Vich - Wed Jan 10, 2007 1:54 am
I have code like asserts that might get called before consoleInit is called. When this happens, the assert might call std::cout or iprintf to output a message. When this output is generated before consoleInit is done, the program breaks and consoleInit that is executed after that seems to fail.
Can I detect - for example for the assert code - if consoleInit is called in an easy way?
(the less nice solution would be to create my own consoleInitProxy that stores a boolean to see if he has been called or not, but that would be a hack that I'd rather not do)
Can I detect - for example for the assert code - if consoleInit is called in an easy way?
(the less nice solution would be to create my own consoleInitProxy that stores a boolean to see if he has been called or not, but that would be a hack that I'd rather not do)