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

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • gwaldron

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

    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
  • David Lowndes

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

    >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

    Comment

    • Jochen Kalmbach [MVP]

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

      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::flus h"?

      --
      Greetings
      Jochen

      My blog about Win32 and .NET

      Comment

      Working...