std::cout not working in Release mode from a mixed-mode assembly

  • Thread starter Thread starter gwaldron
  • Start date Start date
G

gwaldron

Hi,

I have a mixed-mode C++/CLI assembly. "std::cout" generates no output
when I compile in Release mode and run from inside VS2005. In Debug
mode, it works fine.

Can anyone offer any pointers? It would be greatly appreciated.

Thanks. Glenn
 
I have a mixed-mode C++/CLI assembly. "std::cout" generates no output
when I compile in Release mode and run from inside VS2005. In Debug
mode, it works fine.

Glenn,

Have you got a minimal sample that reproduces the problem?

What happens when you run the release mode program from a command
prompt?

Dave
 
Hi gwaldron!
I have a mixed-mode C++/CLI assembly. "std::cout" generates no output
when I compile in Release mode and run from inside VS2005. In Debug
mode, it works fine.

Can anyone offer any pointers? It would be greatly appreciated.

Are you sure you called "std::out::flush"?

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/
 
Back
Top