distinguishing between VC2002 and VC2003

  • Thread starter Thread starter Andreas Busse
  • Start date Start date
A

Andreas Busse

Hello,

is there a way to distinguish between VC.NET 2002 and VC.NET 2003 at
compile-time (pre-defined preprocessor macros)? I have only found
_MSC_VER to be set to 1300 in both versions, which doesn't solve this
problem. Do I have to define my own macro or redefine _MSC_VER?

regards,
Andreas
 
Andreas said:
is there a way to distinguish between VC.NET 2002 and VC.NET 2003 at
compile-time (pre-defined preprocessor macros)? I have only found
_MSC_VER to be set to 1300 in both versions, which doesn't solve this
problem.

No!

VC7.0 => _MSC_VER = 1300
VC7.1 => _MSC_VER = 1310

--
Greetings
Jochen

Do you need a memory-leak finder ?
http://www.codeproject.com/tools/leakfinder.asp
 

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