/RTC1 error

  • Thread starter Thread starter chinthamani
  • Start date Start date
C

chinthamani

hai
I am trying to convert the VC++ code to VC++.Net. So i included the
<mscorlib.dll> which has created a problem of /clr. I rectified this
problem using the "Use Managed Extensions". But i am getting another
error. "Command Line error D2016: RTC1 and clr command line are
incompatible". Can you help me to rectify this error.

Vinodh Noel
Bells Softech Ltd.
 
Hi chinthamani!
I am trying to convert the VC++ code to VC++.Net. So i included the
<mscorlib.dll> which has created a problem of /clr. I rectified this
problem using the "Use Managed Extensions". But i am getting another
error. "Command Line error D2016: RTC1 and clr command line are
incompatible". Can you help me to rectify this error.

Remove the /RTC1 setting...
"Project|Properties|C/C++|Code generation|Basic Runtime Checks: Default"

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/
 
Back
Top