Hi all.
I have a few questions regarding .Net :

1) If I have some code that was developed in VC++ ver 6 and I use Vis C++ ver 7 (.Net) to continue developing that code. Does that code automatically become managed code?

2) If code that was developed in Vis C++ 6 doesn't get translated when I open it up in VC .Net, how do I include managed code to be used within my old code? E.g. In my code, unmanaged.cpp, how do I do I use managed code? I tried

Code:
#include "MangedCode.h"

......

// Unmanaged code
and I get the following error message

fatal error C1190: managed targeted code requires '#using &ltmscorlib.dll&gt' and '/clr' option

This code is complaining that in ManagedCode.h I have the following line

#using &ltmscorlib.dll&gt

and without it in my managed code, it will give me alsorts of errors!

3) Do I have to compile my unmanaged code with /clr?

Regards

John