0

I have used OutputDebugString @ many placed in my VC++ code. Its building fine in debug mode. But using the same code with OutputDebugString is making the compilation to fail.

How to avoid this build failure in RELEASE mode even while using "OutputDebugString" in the code. Thanks in advance.

codeLover
  • 3,720
  • 10
  • 65
  • 121
  • 2
    `OutputDebugString` is fine in Release builds. Something else is wrong. What is the exact error message the you are getting? – shf301 Jun 08 '12 at 05:10
  • 1
    Release builds will simply ignore OutputDebugString(). Perhaps you are using an argument to OutputDebugString() that is defined only for Debug builds? – Phillip Ngan Jun 08 '12 at 05:22

0 Answers0