Click to See Complete Forum and Search --> : adding managed extensions - error


bdiamond
April 2nd, 2004, 04:35 PM
I have a VC 6 project that I'm converting to .Net and I'm trying to use managed extensions. In the project properties, I've set the 'Use Managed Extensions' option to YES and added the appropriate #using directives to my stdafx.h file

now when I try to compile the project, I get the following error:

cl : Command line error D2016 : '/RTC1' and '/clr' command-line options are incompatible

can anyone help?

big146
April 8th, 2004, 06:20 PM
I think that is has something to do with RunTimeCheck(rtc)being incompatible with Common Language Runtime.Try disableing RTC.I am new to programing so dont be upset if im wrong.Thought i would try to help.