> Thnx a much Will!!!
You are welcome.
> Solved it in a jiffy!
I try not to give bogus advice. :-)
> But now.. the problems extends to "RTC and clr incompatible"
> issue...:((....
>
> Error D2016: '/RTC1' and '/clr' command-line options are incompatible
>
> Any thoughts on that?
Yup. Navigate to
Project->Properties->C++->Code Generation->Basic Runtime Checks
and choose a setting that works. :-)
If, like me, you don't have strong feelings about how the compiler generates
the code and the runtime checks, then just choose the correct project type
from the start. That is if you tell the IDE that you are building a managed
application then you wouldn't normally have to tweak the settings.
Will
karthik.t@gmail.com - 05 Jul 2005 00:08 GMT
Will! thnx again! :-)
I tried all the settings.. but dunno why I am getting the following
error..
Command line error D2016 : '/YXStdAfx.h' and '/clr' command-line
options are incompatible
Again... Any thoughts???
Thnx for taking the trouble! :-)
Karthik
William DePalo [MVP VC++] - 05 Jul 2005 00:31 GMT
> Will! thnx again! :-)
You are welcome, still. :-)
> I tried all the settings.. but dunno why I am getting the following
> error..
[quoted text clipped - 3 lines]
>
> Again... Any thoughts???
This is a different error. The IDE is complaining about the pre-compiled
header settings. You can either turn off the header pre-compilation option
or, better yet IMO, start a new .Net project so that the default IDE
settings will be compatible with your project.
Regards,
Will
karthik.t@gmail.com - 05 Jul 2005 00:46 GMT
gr8!! I'll try that and see if it compiles...:-)... probably get back
later today!
Happy 4th of July if you are in the territory of Uncle Sam!!
Cheers!
Karthik