🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.programmer.codewarrior
Article #524

Re: CodeWarrior, Win/MFC Book

#524
From: Paul
Date: Thu, 29 Jul 2004 22:04
36 lines
3133 bytes
"Chris Griffin" <cgriffin@host1web.com> wrote in message
news:20040729143629944-0700@free.teranews.com...
> I've been using CW on the Mac for years. Now I need to port my app to
> MFC. Can anyone recomend a book that covers MFC using codewarrior? Or at
> the very least an MFC book for a poor suffering :-) Mac programmer?

You're going to make 2 discoveries very quickly:

It's a pain to do GUI apps without a resource editor, and
MFC is *nasty* without the MS wizards that dump in all the boilerplate code
(mostly macros) for you.

I don't have a recommendation for a book, but make sure you get one that
covers the macros (I used to have a book that forced you to do some limited
MFC work by hand, which was very painful but also very educational.) Stay
away from books that teach you to use the wizards only.

If you're serious about this, it's probably worth your while to get Visual
Studio: you can pick up VS6 or VC++ on ebay pretty cheap, and MS is
supposedly releasing $49 versions of individual VS7 languages (make sure
MFC's are supported: it may be a trojan horse to get .NET into your hands.)
VC++ is slow and has a lousy interface (in pretty much every respect)
compared to CW, but you get great documentation (miles beyond anything Apple
has ever had, and you're going to need it, believe me), lots of automation,
and a real Windows resource editor.

BTW, MFC is pretty much as bad as it gets for anything beyond NotePad
replacements anyway. Is there a reason you need to use it? If you're
starting out fresh, you should also look into other frameworks that build
for Windows. You can pick up a copy of C++ Builder on ebay or try it for
free: it's hugely more productive than Visual Studio. (It also has the
absolute worst editor/IDE I've ever encountered: I generally kept a copy of
CW for Windows open for editing.)

If you insist on fooling w/ MFC's, join codeproject.com.
Technical Details
Message-ID: <TveOc.1863$Jp6.637@newsread3.news.atl.earthlink.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!elnk-atl-nf1!newsfeed.earthlink.net!stamper.news.atl.earthlink.net!newsread3.news.atl.earthlink.net.POSTED!961d7c11!not-for-mail
References: <20040729143629944-0700@free.teranews.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: f635e,36e5684c522541b2
X-Google-Thread: 10bcce,36e5684c522541b2
X-Google-Attributes: gidf635e,gid10bcce,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!elnk-atl-nf1!newsfeed.earthlink.net!stamper.news.atl.earthlink.net!newsread3.news.atl.earthlink.net.POSTED!961d7c11!not-for-mail
From: "Paul" <remove_this_its_just_paul@patchdance.com>
Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac
References: <20040729143629944-0700@free.teranews.com>
Subject: Re: CodeWarrior, Win/MFC Book
Lines: 38
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
Message-ID: <TveOc.1863$Jp6.637@newsread3.news.atl.earthlink.net>
Date: Thu, 29 Jul 2004 22:04:35 GMT
NNTP-Posting-Host: 69.68.80.137
X-Complaints-To: abuse@earthlink.net
X-Trace: newsread3.news.atl.earthlink.net 1091138675 69.68.80.137 (Thu, 29 Jul 2004 15:04:35 PDT)
NNTP-Posting-Date: Thu, 29 Jul 2004 15:04:35 PDT
Organization: EarthLink Inc. -- http://www.EarthLink.net