C++ .net newbie problem

Tumunzahar

Member
Joined
Jan 1, 2004
Messages
6
Hi,

Im writing one of my first programs in C++ .net

on the lines #include "stdafx.h" and #using <mscorlib.dll>

I get these errors :

fatal error C1083: Cannot open include file: stdafx.h: No such file or directory

fatal error C1190: managed targeted code requires #using <mscorlib.dll> and /clr option


Please help me,

Thanks
 
Are you using a "Managed C++ Application" or a "Win32 Project". If youre using a Win32 project youll need to add /clr to the compiler commandline in your project properties.
 
Back
Top