title: How to figure out what value MSVC is using for a preprocessor macro
body: <p>I'm attempting to use a /D compiler option on MSVC6 to define a string, but there's something weird about using double quotes around it.  To debug this problem, it would be extremely helpful for me to be able to see what value the preprocessor is actually substituting into my code where the macro is expanded.  Is there any way I can do this?  I tried creating a Listing file with "assembly and source", but the source contains the original macro name and the ASM is some incomprehensible gibberish at that line.  Is there a way to get the macro value at compile time?</p>
  
  <p>Failing that (or perhaps more useful), how do I specify a string with the /D option?  It needs to substitute into my source with double quotes around it, since I'm using it as a string literal.</p>