I have a native C++ DLL (blackbox) which is writing some log info to the console. For that DLL I've written a wrapper to use it in C#.
For the tests I use a C# console application which calls the wrapper to execute DLL's functions. It works fine excepting that there is no output on the console if a DLL's function prints some log info.
The confusing thing is that if I create a C++ CLR console application and also use only the calls to the wrapper I can see the output printed by the DLL.
So what is the difference between the consoles and how can I see the output in my C# application?
For the tests I use a C# console application which calls the wrapper to execute DLL's functions. It works fine excepting that there is no output on the console if a DLL's function prints some log info.
The confusing thing is that if I create a C++ CLR console application and also use only the calls to the wrapper I can see the output printed by the DLL.
So what is the difference between the consoles and how can I see the output in my C# application?