|
Prev: Offset by 1 in CStdiofile Seek while reading 0xa
Next: C2664 on initializing auto_ptr with const patam in constructor
From: Daniel on 8 May 2008 02:39 I downloaded the code for this tutorial -- http://msdn.microsoft.com/en-us/visualc/cc507088.aspx. When I try to build it in Visual C++, I get an error saying: fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory The error points to the line that says: #include <afxwin.h> // MFC core and standard components Do I need to download other files from Microsoft to get this code to run? Daniel
From: SvenC on 8 May 2008 02:49 Hi Daniel, > I downloaded the code for this tutorial -- > http://msdn.microsoft.com/en-us/visualc/cc507088.aspx. When I try to > build it in Visual C++, I get an error saying: > > fatal error C1083: Cannot open include file: 'afxwin.h': No such file > or directory Do you use VC++ Express? MFC is not part of the Express version. -- SvenC
From: Daniel on 8 May 2008 15:06 OK. That explains it. Does that mean I can't use the library at all? Daniel "SvenC" <SvenC(a)nospam.nospam> wrote in message news:9A0FC079-8ADC-4F4F-BFC3-631BFDD3B932(a)microsoft.com... > Hi Daniel, > >> I downloaded the code for this tutorial -- >> http://msdn.microsoft.com/en-us/visualc/cc507088.aspx. When I try to >> build it in Visual C++, I get an error saying: >> >> fatal error C1083: Cannot open include file: 'afxwin.h': No such file >> or directory > > Do you use VC++ Express? MFC is not part of the Express version. > > -- > SvenC
From: SvenC on 9 May 2008 01:32
Hi Daniel, > OK. That explains it. Does that mean I can't use the library at all? Correct, with Express you cannot use MFC and ATL -- SvenC |