<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'missing &lt;afxwin.h&gt;' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'missing &lt;afxwin.h&gt;' posted on the 'Beginner C/C++' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2008 Programmers Heaven</copyright>
    <pubDate>Tue, 13 May 2008 18:57:18 -0700</pubDate>
    <lastBuildDate>Tue, 13 May 2008 18:57:18 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>missing &lt;afxwin.h&gt;</title>
      <link>http://www.programmersheaven.com/mb/beginnercpp/370683/370683/ReadMessage.aspx</link>
      <description>&lt;div class="BoardMessageAreaPrinterFriendly"&gt;
&lt;h2 class="BoardMessageSubjectPrinterFriendly"&gt;missing &amp;lt;afxwin.h&amp;gt;&lt;/h2&gt;
&lt;div class="BoardMessageInfoPrinterFriendly"&gt;Posted by  on 28 Mar 2008 at 2:06 PM&lt;/div&gt;
&lt;div class="BoardMessageBodyPrinterFriendly"&gt;Hello,&lt;br /&gt;
&lt;br /&gt;
I am doing a lesson in a C++ Guide Book to create a simple window (code below) and the Visual C++ Express 2005 IDE reported this error:&lt;br /&gt;
&lt;br /&gt;
Cannot open include file: 'afxwin.h': No such file or directory&lt;br /&gt;
&lt;br /&gt;
I set - Use MFC in a shared DLL - as the book directed.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;// Ex13_01.cpp
// An elementary MFC program
#include &amp;lt;afxwin.h&amp;gt; // For the class library

// Application class definition
class COurApp:public CWinApp
{
	public;
		virtual BOOL InitInstance();
};

// Window class definition
class COurWnd:public CFrameWnd
{
	public:
		// Class constructor
		COurWnd()
		{
			Create(0, "Our dumb MFC Application");
		}
};

// Function to create an instance of the main window
BOOL COurApp::InitInstance(void)
{
	// Construct a window object in the free store
	m_pMainWnd = new COurWnd;
	m_pMainWnd-&amp;gt;ShowWindow(m_nCmdShow); // ...and display it
	return TRUE;
}

// Application object definition at global scope
COurApp AnApplication; // Define an application object
&lt;/pre&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</description>
      <pubDate>Fri, 28 Mar 2008 14:06:50 -0700</pubDate>
      <category>Beginner C/C++</category>
    </item>
    <item>
      <title>Re: missing &lt;afxwin.h&gt;</title>
      <link>http://www.programmersheaven.com/mb/beginnercpp/370683/370685/ReadMessage.aspx#370685</link>
      <description>&lt;div class="BoardMessageAreaPrinterFriendly"&gt;
&lt;h2 class="BoardMessageSubjectPrinterFriendly"&gt;Re: missing &amp;lt;afxwin.h&amp;gt;&lt;/h2&gt;
&lt;div class="BoardMessageInfoPrinterFriendly"&gt;Posted by  on 28 Mar 2008 at 3:11 PM&lt;/div&gt;
&lt;div class="BoardMessageBodyPrinterFriendly"&gt;: I set - Use MFC in a shared DLL - as the book directed.&lt;br /&gt;
&lt;br /&gt;
Hmm...&lt;br /&gt;
&lt;br /&gt;
The last time I checked, MSVC++ Express Editions do not support MFC nor ATL. You will need to pay for the professional editions for that.&lt;br /&gt;
&lt;hr /&gt;&lt;span style="font-size: xx-small;"&gt;&amp;#91;.:EvolutionEngine&amp;#93;&amp;#91;.:MicroOS Operating System&amp;#93;&amp;#91;&lt;a href="http://www.brokenthorn.com"&gt;Website :: OS Development Series&amp;#93;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</description>
      <pubDate>Fri, 28 Mar 2008 15:11:39 -0700</pubDate>
      <category>Beginner C/C++</category>
    </item>
    <item>
      <title>Re: missing &lt;afxwin.h&gt;</title>
      <link>http://www.programmersheaven.com/mb/beginnercpp/370683/370686/ReadMessage.aspx#370686</link>
      <description>&lt;div class="BoardMessageAreaPrinterFriendly"&gt;
&lt;h2 class="BoardMessageSubjectPrinterFriendly"&gt;Re: missing &amp;lt;afxwin.h&amp;gt;&lt;/h2&gt;
&lt;div class="BoardMessageInfoPrinterFriendly"&gt;Posted by  on 28 Mar 2008 at 4:02 PM&lt;/div&gt;
&lt;div class="BoardMessageBodyPrinterFriendly"&gt;: : I set - Use MFC in a shared DLL - as the book directed.&lt;br /&gt;
: &lt;br /&gt;
: Hmm...&lt;br /&gt;
: &lt;br /&gt;
: The last time I checked, MSVC++ Express Editions do not support MFC &lt;br /&gt;
: nor ATL. You will need to pay for the professional editions for that.&lt;br /&gt;
: &lt;hr /&gt;&lt;span style="font-size: xx-small;"&gt;&amp;#91;.:EvolutionEngine&amp;#93;&amp;#91;.:MicroOS &lt;br /&gt;
: Operating &lt;br /&gt;
: System&amp;#93;&amp;#91;&lt;a href="http://www.brokenthorn.com"&gt;Website :: &lt;br /&gt;
: OS Development Series&amp;#93;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
Are you saying that that option shouldn't appear in the IDE?&lt;br /&gt;
Or that I chose an option that isn't supported in the free version?&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</description>
      <pubDate>Fri, 28 Mar 2008 16:02:20 -0700</pubDate>
      <category>Beginner C/C++</category>
    </item>
    <item>
      <title>Re: missing &lt;afxwin.h&gt;</title>
      <link>http://www.programmersheaven.com/mb/beginnercpp/370683/370691/ReadMessage.aspx#370691</link>
      <description>&lt;div class="BoardMessageAreaPrinterFriendly"&gt;
&lt;h2 class="BoardMessageSubjectPrinterFriendly"&gt;Re: missing &amp;lt;afxwin.h&amp;gt;&lt;/h2&gt;
&lt;div class="BoardMessageInfoPrinterFriendly"&gt;Posted by  on 28 Mar 2008 at 7:32 PM&lt;/div&gt;
&lt;div class="BoardMessageBodyPrinterFriendly"&gt;&lt;br /&gt;
: Are you saying that that option shouldn't appear in the IDE?&lt;br /&gt;
: Or that I chose an option that isn't supported in the free version?&lt;br /&gt;
&lt;br /&gt;
I personally never seen the option anywhere. I believe it should be there; just will give a message of sorts that it is not available.&lt;br /&gt;
&lt;br /&gt;
Please keep in mind that I never used MFC before. I am sure other members can correct me if im wrong.&lt;br /&gt;
&lt;hr /&gt;&lt;span style="font-size: xx-small;"&gt;&amp;#91;.:EvolutionEngine&amp;#93;&amp;#91;.:MicroOS Operating System&amp;#93;&amp;#91;&lt;a href="http://www.brokenthorn.com"&gt;Website :: OS Development Series&amp;#93;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</description>
      <pubDate>Fri, 28 Mar 2008 19:32:07 -0700</pubDate>
      <category>Beginner C/C++</category>
    </item>
    <item>
      <title>Re: missing &lt;afxwin.h&gt;</title>
      <link>http://www.programmersheaven.com/mb/beginnercpp/370683/371021/ReadMessage.aspx#371021</link>
      <description>&lt;div class="BoardMessageAreaPrinterFriendly"&gt;
&lt;h2 class="BoardMessageSubjectPrinterFriendly"&gt;Re: missing &amp;lt;afxwin.h&amp;gt;&lt;/h2&gt;
&lt;div class="BoardMessageInfoPrinterFriendly"&gt;Posted by  on 9 Apr 2008 at 7:20 AM&lt;/div&gt;
&lt;div class="BoardMessageBodyPrinterFriendly"&gt;: Please keep in mind that I never used MFC before. I am sure other &lt;br /&gt;
: members can correct me if im wrong.&lt;br /&gt;
: &lt;hr /&gt;&lt;span style="font-size: xx-small;"&gt;&amp;#91;.:EvolutionEngine&amp;#93;&amp;#91;.:MicroOS &lt;br /&gt;
: Operating &lt;br /&gt;
: System&amp;#93;&amp;#91;&lt;a href="http://www.brokenthorn.com"&gt;Website :: &lt;br /&gt;
: OS Development Series&amp;#93;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
: &lt;br /&gt;
You are right&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</description>
      <pubDate>Wed, 09 Apr 2008 07:20:30 -0700</pubDate>
      <category>Beginner C/C++</category>
    </item>
  </channel>
</rss>