/RTC1 error

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.
 
J

Jochen Kalmbach [MVP]

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/
 

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

Top