Managed C++ #if

  • Thread starter Thread starter Tommy Vercetti
  • Start date Start date
T

Tommy Vercetti

Is there some kind of preprocessor switch that I can key off of to
determine whether the compiler is compiling code in managed or unmanaged
mode?

I've found that some code needs to be changed when running in managed
vs. unmanaged mode.
 
Tommy,
Is there some kind of preprocessor switch that I can key off of to
determine whether the compiler is compiling code in managed or unmanaged
mode?

Yes, there is: _MANAGED
 

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