MC Source code documentation
Rajiv Thakkar -- rajivt@hotmail.com
Tuesday, December 03, 1996
Environment : VC++ 4.0/ Win 95
Very recently I have started reading the source code of MFC but it has become a
nightmare for me as I have to play detective to trace the source of any
particular class. Has anybody documented this stuff ? Any help Mike Blaszczak ?
Thnx n regards
Rajiv
---------------------------------------------------------
Get Your *Web-Based* Free Email at http://www.hotmail.com
---------------------------------------------------------
Mike Blaszczak -- mikeblas@nwlink.com
Wednesday, December 04, 1996
[Mini-digest: 16 responses]
At 09:07 12/3/96 -0000, Rajiv Thakkar wrote:
>Environment : VC++ 4.0/ Win 95
>Very recently I have started reading the source code of MFC but it has become a
>nightmare for me as I have to play detective to trace the source of any
>particular class. Has anybody documented this stuff ? Any help Mike Blaszczak ?
There's tons of documentation on MFC. Books online is loaded with it; all but
the implementation classes are documneted. There are dozens of third-party books
on MFC. There are many KB articles on MFC at http://www.microsoft.com/kb. There
are over eight thousand notes from previous posters to this list archived at
ftp://advn.com/pub/mfc. There are articles on MFC and sample source using MFC
on the MSDN developer library CD. There are more than a dozen third-party
web sites that deal with MFC; try searching Yahoo.
.B ekiM
http://www.nwlink.com/~mikeblas/
I'm afraid I've become some sort of speed freak.
These words are my own. I do not speak on behalf of Microsoft.
-----From: "Cunningham Graham, IK 23"
take a look at MFC Internals by Scott Wingo, this goes into the gory
detail of how mfc knits together. One thing you might not have tried as
well is to load the mfc.bsc file that comes on your cd, this lets you
use the browser, its not brilliant but if you are interested in tracing
how a class works and is used its generally adequate.
Graham Cunningham
00 41 31 338 0633
>----------
>From: Rajiv Thakkar[SMTP:rajivt@hotmail.com]
>Sent: Dienstag, 3. Dezember 1996 10:07
>To: mfc-l@netcom.com
>Subject: MC Source code documentation
>
>Environment : VC++ 4.0/ Win 95
>
>Very recently I have started reading the source code of MFC but it has become
>a
>nightmare for me as I have to play detective to trace the source of any
>particular class. Has anybody documented this stuff ? Any help Mike Blaszczak
>?
>
>Thnx n regards
>
>Rajiv
>
>
>
>---------------------------------------------------------
>Get Your *Web-Based* Free Email at http://www.hotmail.com
>---------------------------------------------------------
>
-----From: David Lowndes
> Very recently I have started reading the source code of MFC but it has
become a
nightmare for me as I have to play detective to trace the source of any
particular class. Has anybody documented this stuff ? Any help Mike
Blaszczak ?
<
Rajiv,
You might find George Shepard & Scot Wingo's book "MFC Internals"
useful.
>Dave
-----From: David Little
Did you ever try the Browser? If you don't like it, maybe you could use =
"Find in Files". Are you having a problem, or are you just curious?
----------
From: Rajiv Thakkar[SMTP:rajivt@hotmail.com]
Sent: Tuesday, December 03, 1996 3:07 AM
To: mfc-l@netcom.com
Subject: MC Source code documentation
Environment : VC++ 4.0/ Win 95
Very recently I have started reading the source code of MFC but it has =
become a
nightmare for me as I have to play detective to trace the source of any
particular class. Has anybody documented this stuff ? Any help Mike =
Blaszczak ?
Thnx n regards
Rajiv
---------------------------------------------------------
Get Your *Web-Based* Free Email at http://www.hotmail.com
---------------------------------------------------------
-----From: "Marc H. Rains"
You might want to look at the book "MFC Internals". The authors have some
good insight into what goes on in the MFC source.
Marc
----------
> From: Rajiv Thakkar
> To: mfc-l@netcom.com
> Subject: MC Source code documentation
> Date: Tuesday, December 03, 1996 3:07 AM
>
> Environment : VC++ 4.0/ Win 95
>
> Very recently I have started reading the source code of MFC but it has
become a
> nightmare for me as I have to play detective to trace the source of any
> particular class. Has anybody documented this stuff ? Any help Mike
Blaszczak ?
>
> Thnx n regards
>
> Rajiv
>
>
>
> ---------------------------------------------------------
> Get Your *Web-Based* Free Email at http://www.hotmail.com
> ---------------------------------------------------------
-----From: Jim Murphy
Try scot wingo's book...Undocumented MFC...@ local bookstores or if you are
really patient every month DDJ has an artical by above...
At 04:18 AM 12/5/96 EST, you wrote:
>Return-Path:
>Received: from majordomo.netcom.com by kelvin.aspentec.com (MX V4.1 AXP) with
> SMTP; Thu, 05 Dec 1996 04:18:33 EST
>Received: by majordomo.netcom.com (8.7.5/8.7.3/(NETCOM MLS v1.01)) id RAA01747;
> Wed, 4 Dec 1996 17:20:38 -0800 (PST)
>Date: 3 Dec 1996 09:07:48 -0000
>Message-ID: <19961203090748.4232.qmail@hotmail.com>
>From: "Rajiv Thakkar"
>To: mfc-l@netcom.com
>Subject: MC Source code documentation
>Content-Type: text/plain
>Sender: owner-mfc-l@majordomo.netcom.com
>Errors-To: owner-mfc-l@majordomo.netcom.com
>Precedence: bulk
>Reply-To: mfc-l@netcom.com
>
>Environment : VC++ 4.0/ Win 95
>
>Very recently I have started reading the source code of MFC but it has become a
>nightmare for me as I have to play detective to trace the source of any
>particular class. Has anybody documented this stuff ? Any help Mike Blaszczak ?
>
>Thnx n regards
>
>Rajiv
>
>
>
>---------------------------------------------------------
>Get Your *Web-Based* Free Email at http://www.hotmail.com
>---------------------------------------------------------
>
>
**************************************************************************
||
|||||| Jim Murphy
|||||||||| Senior Engineer
||||||||||||||
|||||||||||||| Advanced Control & Optimization Div.
|||||||||||||| Aspen Technology Inc.
|||||||||| Houston, TX
|| (713) 313-1171
||
**************************************************************************
-----From: =?iso-8859-1?Q?Klaus_G=FCtter?=
Two tips:
* The book "MFC Internals" by Shepherd / Wingo gives a lot of background
information to implementation details of MFC (including a
cross-reference class name -> implementation file)
* The is a file MFC.SBC (at least in MFC 4.2) which is a browser
database of the MFC source code. This is very useful when exploring the
MFC source.
- Klaus
>----------
>Von: Rajiv Thakkar[SMTP:rajivt@hotmail.com]
>Gesendet: Dienstag, 3. Dezember 1996 10:07
>An: mfc-l@netcom.com
>Betreff: MC Source code documentation
>
>Environment : VC++ 4.0/ Win 95
>
>Very recently I have started reading the source code of MFC but it has become
>a
>nightmare for me as I have to play detective to trace the source of any
>particular class. Has anybody documented this stuff ? Any help Mike Blaszczak
>?
>
>Thnx n regards
>
>Rajiv
>
>
>
>---------------------------------------------------------
>Get Your *Web-Based* Free Email at http://www.hotmail.com
>---------------------------------------------------------
>
-----From: dodd@wilmington.net (Mike Dodd)
On 3 Dec 1996 09:07:48 -0000, you wrote:
>Environment : VC++ 4.0/ Win 95
>
>Very recently I have started reading the source code of MFC but it has =
become a
>nightmare for me as I have to play detective to trace the source of any
>particular class. Has anybody documented this stuff ? Any help Mike =
Blaszczak ?
>
>Thnx n regards
>
>Rajiv
There is a book called _MFC Internals_ that does a very nice job. It
does go into some detail of the internal workings. I would highly
recommend it.
=20
-----From: joew@statsoft.com (Joe Willcoxson)
>Environment : VC++ 4.0/ Win 95
>
>Very recently I have started reading the source code of MFC but it has become a
>nightmare for me as I have to play detective to trace the source of any
>particular class. Has anybody documented this stuff ? Any help Mike Blaszczak ?
Actually, Microsoft has documented it. Hit F1 while using VC++ 4 to view
the documentation. If that's not good enough, buy a book. MFC Internals by
Scot Wingo documents some of the guts of MFC. Did I mention read the FAQ
(http://www.stingsoft.com)? BTW, you can learn a lot by playing detective
even more than you wanted to learn. Oh, perish the thought, it would
require work! We want everything handed to us with our quiche.
--
Joe Willcoxson (joew@statsoft.com), Senior Software Engineer
Visit us: http://www.statsoft.com, Visit me: http://users.aol.com/chinajoe
#define STD_DISCLAIMER "I speak only for myself"
"Lotteries are a tax on people who do not understand statistics."
-----From: CADD Design Solutions
Environment : VC++ 4.0/ Win 95
I have found the book "MFC Internals" by George Shepherd & Scot Wingo to be
an extremely valuable reference on MFC. They have studied the source in
depth and provide great insight into what's really happening inside an MFC
app. This book can be obtained from Addison-Wesley - list price $39.95 -
ISBN #0-201-40721-3.
>
>Very recently I have started reading the source code of MFC but it has become a
>nightmare for me as I have to play detective to trace the source of any
>particular class. Has anybody documented this stuff ? Any help Mike Blaszczak ?
>
>Thnx n regards
>
>Rajiv
>
>
>
>---------------------------------------------------------
>Get Your *Web-Based* Free Email at http://www.hotmail.com
>---------------------------------------------------------
>
>
-----------------------------------------------
Shawn L. Bradley
CADD Design Solutions
e-mail: cds@59mail.idt.net
Visit our web site for latest news, neat tips,
and FREE AutoLISP utilities!
http://metropolis.idt.net/~cds59
-----------------------------------------------
All that must happen for evil to prevail, is
for good men to do nothing. -Edmund Burke
"A democracy cannot exist as a permanent form of government.
It can only exist until the voters discover that they can vote
themselves money from the Public Treasury. From that moment on,
the majority always votes for the candidates promising the most
benifits from the Public Treasury with a result that a democracy
always collapses over loose fiscal policy always followed by a
dictatorship." -Alexander Fraser Tytler
-----From: rob gue
I don't understand what you're asking. If you're asking what is an easy
way to browse the MFC source, I find it convenient to open the "mfc.bsc"
file (located, I believe, in the mfc\src directory on the VC++ CD) and then
select "Browse" under the "Tools" menu. If you're asking for an
explanation of the implementation details of MFC classes, then check out
the "MFC Internals" book.
rob.gue@gtri.gatech.edu
At 09:07 AM 12/3/96 -0000, you wrote:
>Environment : VC++ 4.0/ Win 95
>
>Very recently I have started reading the source code of MFC but it has
become a
>nightmare for me as I have to play detective to trace the source of any
>particular class. Has anybody documented this stuff ? Any help Mike
Blaszczak ?
>
>Thnx n regards
>
>Rajiv
>
>
>
>---------------------------------------------------------
>Get Your *Web-Based* Free Email at http://www.hotmail.com
>---------------------------------------------------------
>
>
-----From: Scot
Hi Rajiv,
Check out MFC Internals a book that George Shepherd
and I wrote about MFC - it talks about the MFC source
in excruciating detail
ISBN and all of that stuff is at
http://www.stingsoft.com/mfc_internals
Perhaps if you have specific questions you could post them to the group
-
your email doesn't really have a specific topic that is giving you
'nightmares'.
Scot
Stingray
>----------
>From: Rajiv Thakkar[SMTP:]
>Sent: Tuesday, December 03, 1996 4:07 AM
>To: mfc-l@netcom.com
>Subject: MC Source code documentation
>
>Environment : VC++ 4.0/ Win 95
>
>Very recently I have started reading the source code of MFC but it has become
>a
>nightmare for me as I have to play detective to trace the source of any
>particular class. Has anybody documented this stuff ? Any help Mike Blaszczak
>?
>
>Thnx n regards
>
>Rajiv
>
>
>
>---------------------------------------------------------
>Get Your *Web-Based* Free Email at http://www.hotmail.com
>---------------------------------------------------------
>
-----From: Ted
"MFC Internals" -Addison-Wesley publishing. Don't know the ISBN, but
it's by George Shepard and Scot Wingo, the latter of the MFC FAQ fame.
----------
From: Rajiv Thakkar[SMTP:rajivt@hotmail.com]
Sent: Tuesday, December 03, 1996 1:08 AM
To: mfc-l@netcom.com
Subject: MC Source code documentation
Environment : VC++ 4.0/ Win 95
Very recently I have started reading the source code of MFC but it has
become a
nightmare for me as I have to play detective to trace the source of any
particular class. Has anybody documented this stuff ? Any help Mike
Blaszczak ?
Thnx n regards
Rajiv
---------------------------------------------------------
Get Your *Web-Based* Free Email at http://www.hotmail.com
---------------------------------------------------------
-----From: Danny Lauwers
Hello,
Open the MFC Browser file to make it easier to walk the MFC source code. The MFC
browser file is in the MFC Source directory on the CD. It is not installed
by default I think. Then you can think about the class you are exploring
instead of in what file a class could be !
Danny Lauwers
>Environment : VC++ 4.0/ Win 95
>
>Very recently I have started reading the source code of MFC but it has become a
>nightmare for me as I have to play detective to trace the source of any
>particular class. Has anybody documented this stuff ? Any help Mike Blaszczak ?
>
>Thnx n regards
>
>Rajiv
>
>
>
>---------------------------------------------------------
>Get Your *Web-Based* Free Email at http://www.hotmail.com
>---------------------------------------------------------
>
>
==============================================================================
Ing. Danny Lauwers (dlauwers@innet.be)
Intersoft Electronics Radar verification Hard- & software
Lammerdries 27 Fotofinish and timing of sportevents
2250 Olen Belgium Europe Footscan applications
Tel: +32 14 231811 and more ...
Fax: +32 14 231944 Checkout http://www.innet.be/intersoft
===============================================================================
-----From:
Hi,
I don't think you need to read all the source code. The better way to
learn MFC is by using it.
What can those source codes do is for debug, while you can view the src
from asserting an error or any exception happens.
If you find some classes unsuitable for peticular utilities, then you
can derive the MFC by diving into the source code, so these classes are
called Microsoft "FOUDATION" Class.
Otherwise, I'm truely too busy to look all the source code, there's no
more I can say.
If you want to find a quick way to MFC, I suggest ATL for ole/template,
and CTreeView class for control/view, because you will find these two
tools very important in Internet/Network Environment , and the other
thing can be quite clear if you are familiar to these class.
I haven't touched C for about 1 year, and I don't think SDK is suitable
for short period project, especially while not familiar to the
functions. For example, the sample in SDK offers little "firewall"
suggestion. If someone can tell me their better way to using the SDK,
the reply will be appreciated.
Better day to you
James 12/06
>----------
>From: Rajiv Thakkar[SMTP:rajivt@hotmail.com]
>Sent: Tuesday, December 03, 1996 1:07 AM
>To: mfc-l@netcom.com
>Subject: MC Source code documentation
>
>Environment : VC++ 4.0/ Win 95
>
>Very recently I have started reading the source code of MFC but it has become
>a
>nightmare for me as I have to play detective to trace the source of any
>particular class. Has anybody documented this stuff ? Any help Mike Blaszczak
>?
>
>Thnx n regards
>
>Rajiv
>
>
>
>---------------------------------------------------------
>Get Your *Web-Based* Free Email at http://www.hotmail.com
>---------------------------------------------------------
>
-----From: "P. Senthil"
Rajiv Thakkar wrote:
>
> ---------------------------------------------------------------
>
> Environment : VC++ 4.0/ Win 95
>
> Very recently I have started reading the source code of MFC but it has become a
> nightmare for me as I have to play detective to trace the source of any
> particular class. Has anybody documented this stuff ? Any help Mike Blaszczak ?
>
> Thnx n regards
>
> Rajiv
>
> ---------------------------------------------------------
> Get Your *Web-Based* Free Email at http://www.hotmail.com
> ---------------------------------------------------------
The MFC source code is the best place to learn MFC. Although I don't
know of any documentation, I've found that the comments in the code are
wonderful. I've used many ideas and algorithms from the MFC source code
for my own programs.
One of the best way to learn the source code is to debug into it.
Especially with all those GPFs around :)
P. Senthil
mail:senthilp@geocities.com
www :www.geocities.com/SiliconValley/Heights/6504/
Richard Quist -- rquist@ultranet.com
Saturday, December 07, 1996
[Mini-digest: 2 responses]
>
>Very recently I have started reading the source code of MFC but it has
>become a
>nightmare for me as I have to play detective to trace the source of any
>particular class. Has anybody documented this stuff ? Any help Mike
>Blaszczak ?
>
>Thnx n regards
>
>Rajiv
>
You might want to look at Scott Wingo and George Shepard's book "MFC
Internals" (I hope I got the title and both authors correct).
(I don't think Mike Blaszczak has either the time or the burden of
responsibility to provide this...rumor has it he has a life, and a job,
and...)
Rich
(rquist@ultranet.com)
-----From: Jerry Coffin
At 09:07 AM 12/3/96 -0000, you wrote:
>Environment : VC++ 4.0/ Win 95
>
>Very recently I have started reading the source code of MFC but it has become
>a nightmare for me as I have to play detective to trace the source of any
>particular class. Has anybody documented this stuff ? Any help Mike Blaszczak
You'll probably get around 100 replies reccomending _MFC Internals_ by Scot
Wingo and George Shepherd. (ISBN 0-201-40721-3, published by Addison
Wesley.) This makes 101...
| Вернуться в корень Архива
|