Click here to Skip to main content
15,897,273 members
Articles / Desktop Programming / MFC

The Win32 Foundation Classes (WFC) - Version 45

Rate me:
Please Sign up or sign in to vote.
4.93/5 (40 votes)
16 May 2000 470.3K   12.7K   280  
The Win32 Foundation Classes (WFC) are a library of C++ classes that extend Microsoft Foundation Classes (MFC) beyond mere GUI applications, and provide extensive support for system and NT specific applications
<HTML>

<HEAD>
<TITLE>WFC - Technical Note 3 - Generating HTML Documentation</TITLE>
</HEAD>

<BODY>

<H1>WFC Technical Note 3 - Generating HTML Documentation</H1>
$Revision: 2 $ Last Modified $Date: 10/01/98 6:54a $<BR><HR>

<H2>Introduction</H2>

WFC ships with all documentation included. The documentation
is in HTML format. The reason for this was to make the docs
as readable as possible. No special tool is used to create the
documentation. The HTML is embedded in the source code files
and is pulled out using the <CODE><B>HTML</B></CODE>
<A HREF="Samples.htm">sample</A> program.

<H2>Building the Extraction Tool</H2>

After you have extracted and built WFC (see
<A HREF="WTN002.htm">TechNote 2</A>
for details), you must build the <CODE><B>HTML</B></CODE>
tool. This tool will go through the source code files and
create the HTML documentation.

<H3>Build Steps</H3>

<OL>
<LI>Open the <CODE>\WFC\SAMPLE\HTML\HTML.DSW</CODE> project workspace.
<LI>Build the <CODE>Release</CODE> project.
<LI>Copy <CODE>HTML.EXE</CODE> to your system directory (i.e.
<CODE>C:\WINNT\SYSTEM32</CODE>)
</OL>

<H2>Creating HTML Documents</H2>

Open the <CODE>\WFC\HTML\Document.cmd</CODE> in a text editor.
Edit line 6, change <CODE>E:</CODE> to whatever drive
letter you installed WFC on.

<P>

OK, here comes the hard part. Open a command prompt and change directories to the
<CODE>WFC\HTML</CODE>
directory. Run the <CODE>Document.cmd</CODE> batch file. This will create the
online documentation. To get started, load the
<CODE><A HREF="wfc.htm">wfc.htm</A></CODE>
file in
your favorite browser. You will now be able to navigate the documentation 
just as though you were on Internet.

<P>
<HR>
<A HREF="mailto:wfc@pobox.com">Samuel R. Blackburn</A>
</BODY>

</HTML>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
United States United States
I'm just a simple little NT programmer. Most of the work I do is remote controlling equipment in real time. I started out using Windows 3.0. Then came 3.1 and then NT. I started using NT but unfortunately, Microsoft didn't. I started using MFC but unfortunately, Microsoft didn't (and still doesn't) put any real support for NT into MFC so I wrote a bunch of C++ classes to make my life easier. Like all class libraries, mine grew. Now I'm giving it away, I call it Win32 Foundation Classes.

Check out Sam's homepage at www.SamBlackburn.com/wfc/.

Comments and Discussions