T
Tim Hitchcock
I have an existing MFC program consisting of an EXE and one DLL that I am
trying to convert into a mixed mode program. I am using Visual Studio.NET
2003 Professional and I am compiling in the IDE. I set the "Use Managed
Extensions" option to Yes in Configuration Properties General, added the
#using <mscorlib.dll> line to the StdAfx.h and attempted to compile. I
received the following error:
/RTC1 and /clr command-line options are incompatible
The documentation on the /clr Use Managed Extensions switch states that
selecting the /clr option will turn off /RTC automatically and the
Configuration Properties/C C++/Command Line window shows that it has been
removed, but I still get the above error. In Configuration Properties/C
C++/Code Generation, Smaller Type Check is set to "No" and Basic Runtime
Checks is set to "Default". Basic Runtime Checks doesn't seem to have a
disabled or off option with the closest being what it is set to or "Inherit
from project defaults" which when selected reselects "Default". How can I
get rid of this error message?
trying to convert into a mixed mode program. I am using Visual Studio.NET
2003 Professional and I am compiling in the IDE. I set the "Use Managed
Extensions" option to Yes in Configuration Properties General, added the
#using <mscorlib.dll> line to the StdAfx.h and attempted to compile. I
received the following error:
/RTC1 and /clr command-line options are incompatible
The documentation on the /clr Use Managed Extensions switch states that
selecting the /clr option will turn off /RTC automatically and the
Configuration Properties/C C++/Command Line window shows that it has been
removed, but I still get the above error. In Configuration Properties/C
C++/Code Generation, Smaller Type Check is set to "No" and Basic Runtime
Checks is set to "Default". Basic Runtime Checks doesn't seem to have a
disabled or off option with the closest being what it is set to or "Inherit
from project defaults" which when selected reselects "Default". How can I
get rid of this error message?