I have set up all my tinyfiledialogs function calls to be inside a namespace and in some fuctions to process it. When printing for example the path I got inside of the function it works. I later return it as a string and try to print it from after calling the function that calls tinyfiledialogs and here it does not print. The only way I can print is using std:cerr.