Thread: MFC & Code Base

  1. #1
    Unregistered
    Guest

    MFC & Code Base

    actually nowadays ppl use MFC more or Code Base more??
    as i only know how to use MFC to do the window programing for C++, i will like to learn things used in the Code Base programing like hwnd etc...
    so can anyone introduce mi any book that is for newbie like mi in the code base programing. I have bought the SAMS 21 days programing for C, but the code in the book some dont even work at all.

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    >>> actually nowadays ppl use MFC more or Code Base more??

    By "code base" do you mean the raw Win32 API? If so, then there are many that use the API rather than accept the bloat and overhead that class libraries introduce, (MFC is not the only widely used class library).

    Programming Windows (5th edition) by Charles Petzold is probably the definitive book, but Herbert Schildts books are also pretty good, browse Amazon.

    >>> but the code in the book some dont even work at all.

    I'm afraid programming books are like that, lots of silly silly errors which persist across numerous revisions.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  3. #3
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    I personnally don't use MFC. But that may be because mingw doesn't support MFC... Nonetheless I find MFC to be a tool to be used ONLY for a massive project. I think MFC is overhead only when used on smaller projects that don't take full advantage of the win32 api.

  4. #4
    Registered User
    Join Date
    Apr 2002
    Posts
    77
    win32 api means?
    izzit also display in the windows or juz dos version?
    becoz i have actually try to do some programing for database using the normal programing without using the MFC, but i find it very hard as i have to write a long coding juz to get a dialog out ?

    also adrianx what other Class libary there are other than MFC???

  5. #5
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    >>> win32 api means?

    It is the API, (Application Programmers Interface), to the Windows operating system. It is how a programmer gets Windows to do things. The API is used behind all programs running on a Win32 box. Remember, "DOS boxes", on a WIN32 machine are actually windows made to look like dumb old DOS.

    >>> what other Class libary there are other than MFC???

    VCL, (Borlands current offering with C++ Builder, Delphi and Kylix - at least as good as MFC), and OWL, (old fashioned), are two that spring to mind.

    If you want to continue to get info from me you can, AGAIN, dump the stupid spellings.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  6. #6
    Registered User
    Join Date
    Apr 2002
    Posts
    77
    Thanks

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Code review
    By Elysia in forum C++ Programming
    Replies: 71
    Last Post: 05-13-2008, 09:42 PM
  2. Base Converter Part 2
    By encyclopedia23 in forum C Programming
    Replies: 2
    Last Post: 12-30-2006, 02:42 PM
  3. Latest Platform SDK includes MFC 4.2 source code!
    By Codeplug in forum Windows Programming
    Replies: 5
    Last Post: 04-04-2006, 10:49 AM
  4. MFC in an empty project
    By cunnus88 in forum Windows Programming
    Replies: 0
    Last Post: 10-09-2005, 09:19 AM
  5. << !! Posting Code? Read this First !! >>
    By kermi3 in forum C# Programming
    Replies: 0
    Last Post: 10-14-2002, 01:26 PM