473,395 Members | 1,689 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

asking about MFC

Hey every body

i'm just wanaa to learning MFC and i find some e-books and web sites
explin it but the proploem is the there explain is too hard to under
stand..

if any body have e-books , sites or ideas to learn it in very easy
plz tell me
co*****@hotmail.com

May 3 '07 #1
12 1354
co*****@gmail.com wrote:
i'm just wanaa to learning MFC [..]
Try asking in 'microsoft.public.vc.mfc', they may be able to
under stand you better.
May 3 '07 #2
On May 3, 4:40 pm, coct...@gmail.com wrote:
Hey every body

i'm just wanaa to learning MFC and i find some e-books and web sites
explin it but the proploem is the there explain is too hard to under
stand..

if any body have e-books , sites or ideas to learn it in very easy
plz tell me

comp...@hotmail.com
Do yourself a favour, and consider anything else rather than MFC. Take
a look at WTL instead. Or GTK+, Qt, wxWindows, GTKmm and several
others i can't remember.
MFC is hard to understand cause those that wrote it didn't understand
it. Its not C++, Its a terrible architecture, doesn't support
templates, prefers expensive casts over vtables, only runs on Windows,
its proprietary - no source available, its very difficult to maintain
and provides so much code bloat that a tiny window with a few controls
requires 1 MB or more (WTL does it with 40KB).

May 4 '07 #3
the very important think is applying c++ program with graphical
interface !

in any way ,, not only in MFC

May 4 '07 #4
Salt_Peter wrote:
:: On May 3, 4:40 pm, coct...@gmail.com wrote:
::: Hey every body
:::
::: i'm just wanaa to learning MFC and i find some e-books and web sites
::: explin it but the proploem is the there explain is too hard to under
::: stand..
:::
::: if any body have e-books , sites or ideas to learn it in very easy
::: plz tell me
:::
::: comp...@hotmail.com
::
:: Do yourself a favour, and consider anything else rather than MFC.
:: Take a look at WTL instead. Or GTK+, Qt, wxWindows, GTKmm and several
:: others i can't remember.
:: MFC is hard to understand cause those that wrote it didn't understand
:: it. Its not C++, Its a terrible architecture, doesn't support
:: templates, prefers expensive casts over vtables, only runs on
:: Windows, its proprietary - no source available, its very difficult
:: to maintain and provides so much code bloat that a tiny window with
:: a few controls requires 1 MB or more (WTL does it with 40KB).

Source is delivered with the compiler.

Otherwise you are correct. :-)
Bo Persson
May 4 '07 #5
On May 4, 11:24 am, coct...@gmail.com wrote:
the very important think is applying c++ program with graphical
interface !

in any way ,, not only in MFC
http://wxwidgets.org

May 4 '07 #6
On May 4, 11:24 am, coct...@gmail.com wrote:
the very important think is applying c++ program with graphical
interface !

in any way ,, not only in MFC

An MFC class is not a C++ class.
So if you plan to program in C++: choose something else than MFC.
May 4 '07 #7
Salt_Peter wrote:
An MFC class is not a C++ class.
So if you plan to program in C++: choose something else than MFC.
You have no idea what you are talking about.

--
Scott McPhillips [VC++ MVP]

May 5 '07 #8
On May 4, 10:16 pm, Scott McPhillips <scott...@REMOVETHISmvps.org>
wrote:
Salt_Peter wrote:
An MFC class is not a C++ class.
So if you plan to program in C++: choose something else than MFC.

You have no idea what you are talking about.

--
Scott McPhillips [VC++ MVP]
Dream on

May 5 '07 #9
On May 4, 10:16 pm, Scott McPhillips <scott...@REMOVETHISmvps.org>
wrote:
Salt_Peter wrote:
An MFC class is not a C++ class.
So if you plan to program in C++: choose something else than MFC.

You have no idea what you are talking about.

--
Scott McPhillips [VC++ MVP]
You must be right, after all - i don't run Windows.
MFC has more macros than C++ code has semicolons.
Why? To disable a compiler's type checking ability.
Does that sound like C++ to you?

May 5 '07 #10
Salt_Peter wrote:
>>>An MFC class is not a C++ class.
So if you plan to program in C++: choose something else than MFC.

You have no idea what you are talking about.

--
Scott McPhillips [VC++ MVP]


You must be right, after all - i don't run Windows.
MFC has more macros than C++ code has semicolons.
Why? To disable a compiler's type checking ability.
Does that sound like C++ to you?
Actually, the key MFC macros (for message mapping lookup tables) were
made type safe some years ago. You're welcome to your opinion, but if
you're not familiar with the platform it would be prudent to withold
comment.

--
Scott McPhillips [MVP VC++]

May 5 '07 #11
On May 5, 10:25 am, Scott McPhillips <org-dot-mvps-at-scottmcpwrote:
Salt_Peter wrote:
>>An MFC class is not a C++ class.
So if you plan to program in C++: choose something else than MFC.
>You have no idea what you are talking about.
>--
Scott McPhillips [VC++ MVP]
You must be right, after all - i don't run Windows.
MFC has more macros than C++ code has semicolons.
Why? To disable a compiler's type checking ability.
Does that sound like C++ to you?

Actually, the key MFC macros (for message mapping lookup tables) were
made type safe some years ago. You're welcome to your opinion, but if
you're not familiar with the platform it would be prudent to withold
comment.

--
Scott McPhillips [MVP VC++]

Really?
Made type safe long ago? hardly!
Only since .net did static_cast<finally replace the dangerous old-
style C cast in order to prevent the stack corruption that resulted
from those lookups in release mode. (due to the fact that the macros
completely ignored the function's signatures).
What was the solution? Insist that the programmer was responsible to
provide the correct signature?
Thats ridiculous.
More fundamentally: since when is a macro a C++ solution for message
callbacks?

May 5 '07 #12
MFC is a bear to program in, but it is lean and produces zippy
applications. Take a look at the Codejock components set at
http://www.codejock.com and drool over that ribbon control. MFC code
could be prettier, but never does it suffer from the "CUMULATIVE
OVERHEAD" syndrome that other languages (and even some C++ frameworks)
suffer from.
May 7 '07 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: ThunderMusic | last post by:
Hi, I'm trying to install VS.NET 2003 and it keeps asking me to reboot the computer for installing the first step. After rebooting, I try to install the first step, then it tells me again an...
3
by: Robert Hogan | last post by:
Hello all, I have a client with an application that they have purchased, it stores its data on SQL server 2000 and so I am able to do reports and some small VB apps that use the data. I can't...
1
by: tom | last post by:
Hey All, I have a subform that shows records in datasheet view, all sorted nicely. When I right-click on any column and choose "Sort Ascending", Access pops up an "Enter Parameter" box for a...
24
by: deko | last post by:
I have an mdb (2002 file format) that uses memo fields extensively. I've read a lot about how problematic memo fields can be and that avoiding them is a good idea. But I'm stuck with them and was...
4
by: anand | last post by:
Hi, I have an Access 2000 database, which contains some native tables, and some linked tables which belong to an ORACLE database, through ODBC. Using VB.NET, I am trying to fetch some data by...
258
by: Terry Andersen | last post by:
If I have: struct one_{ unsigned int one_1; unsigned short one_2; unsigned short one_3; }; struct two_{ unsigned int two_1;
6
by: Deniz Bahar | last post by:
Hi, My english is not top notch and I am trying to understand what K&R2 Ex 5-11 is asking for (pg 118). It says: Modify the programs entab and detab (which I completed from chapter 1 and have...
0
by: eye5600 | last post by:
I am trying to display a Crystal Report in the report viewer using the cookbook per "ADO.NET Reports in Windows Form Viewers." After the sda.Fill statement, the data is in the DataSet (I checked),...
3
by: serkan ulucan | last post by:
Hi, I want to add a video link on web form. Up on clicking this link what I want is that first downloading video automatically without asking where to download, then play the downloaded video. I...
1
by: AparnaKulkarni | last post by:
Want to call a crystal report of version 8.5 through VB.NET. In this the data is passed to report through XML file. On running this, the report asks for Database name, Server name, Userid, Pwd. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.