From: Daniel on
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
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
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
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