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/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top