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
 
Back
Top