View Poll Results: MFC or Win32

Voters
20. You may not vote on this poll
  • MFC

    3 15.00%
  • Win32

    17 85.00%
Page 2 of 2 FirstFirst 12
Results 41 to 62 of 62

Thread: MFC or Win32?

  1. #41
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    If i make a program thats 3MB i will be proud because i know i did alot of work
    That's no way to measure. I could easily find a way to make a 5MB exe with only a few lines of code. Did I work hard for that?

    Or rephrased: if you can write two programs with the same amount of work that do the same thing and one is smaller, would you like the bigger more because you feel like you've done more? You have not, so the smaller program is better.

    And as already said, as a programmer you serve the public, not the other way round. You must meet the requirements of the users if you want them to use your app. Only M$ can get away with not doing that.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  2. #42
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    If i make a program thats 3MB i will be proud because i know i did alot of work
    That's no way to measure. I could easily find a way to make a 5MB exe with only a few lines of code. Did I work hard for that?

    Or rephrased: if you can write two programs with the same amount of work that do the same thing and one is smaller, would you like the bigger more because you feel like you've done more? You have not, so the smaller program is better.

    And as already said, as a programmer you serve the public, not the other way round. You must meet the requirements of the users if you want them to use your app. Only M$ can get away with not doing that.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #43

    Thread Starter
    Frenzied Member JasonLpz's Avatar
    Join Date
    Mar 2001
    Location
    Brooklyn, NY
    Posts
    1,335
    ok ok but like MS if i make a big program like MS OFFICE you wont expect it to be 5MB because its small and it would be crapy. Im just saying if i make a program for the first time i would be happy its big cuz i would think i did alot and then i would try to make it smaller. I agree the user would love a huge program in a asmall size. I admit i would love it if office xp was 20 MB i understand the smaller the code maybe the faster the flow and more easy to update and redistribute.

    I was just stating my opinion and i know the facts and i will comply with them.

    What i really meant was that 2-15MB isnt really that big to complain about.
    - JayWare
    Live to love. Not to Hate

    Im to busy to have a site. But I got one and still working on it.

    http://dre3k.net/

  4. #44
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    That depends. What's interesting is the code-to-functionality ratio. If a small test app is 1 MB large I'd be pissed off. Office XP on the other hand has an awful lot of functionality so it's quite justified it's so large (except that I think you don't need two thirds of that functionality...).
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  5. #45
    Hyperactive Member made_of_asp's Avatar
    Join Date
    Jul 2001
    Location
    123 Fake Street
    Posts
    394
    My "Avenger FTP" app is 700kb, lots of people dl'ed it. I bet if it was 10 megs, nobody would even bother.
    VS.NET 2003

    Need to email me?

  6. #46
    Fanatic Member
    Join Date
    Oct 1999
    Location
    England
    Posts
    982
    It comes down to using the right tools for the job. Using an programming language just because you know it is will not win points with customers if they have specific requirements.

    Also you will then be losing out on opportunities for work.

    Another thing is I could write an app that is 10 meg but it could be a load of pants. A good app is in how useful, easy to understand, etc it is.

  7. #47
    Member
    Join Date
    Dec 2002
    Location
    Miami,FL
    Posts
    34
    What does MFC mean??
    Death is always smiling down on us, the only thing we can do is smile back

  8. #48
    <?="Moderator"?> john tindell's Avatar
    Join Date
    Jan 2002
    Location
    Brighton, UK
    Posts
    1,099
    Originally posted by RabidChimp
    What does MFC mean??
    Microsoft Foundation Classes

  9. #49

    Thread Starter
    Frenzied Member JasonLpz's Avatar
    Join Date
    Mar 2001
    Location
    Brooklyn, NY
    Posts
    1,335
    so MFC is basically a tool that you use when you already know alot of c++ / win32 / api? and when you get tired of coding windows and stuff? I heard its usefull when you dont qant to code alot because it generates some code automatically
    - JayWare
    Live to love. Not to Hate

    Im to busy to have a site. But I got one and still working on it.

    http://dre3k.net/

  10. #50
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    Its good as a shortcut. It contains a lot of different classes that can do almost anything. The reason why some people do not use it is that it bloats code and can cause anaomalities that you cannot control (like memory leaks.)

    However, you can argue that people use it because they cannot code, and they need Microsoft to do it for them.

  11. #51
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    You can, but if you generalize that I'll have to beat you.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  12. #52
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    I was kidding.

    My thought is that MFC is not good for games, but it is good for applications that are not processor intensive.

    The few areas that I could of used MFC, I instead of used either ANSI or my own versions of the objects. My feeling is that if you have the time, you might as well use the knowledge you have and craft something yourself instead of having MS do it for you.

  13. #53

    Thread Starter
    Frenzied Member JasonLpz's Avatar
    Join Date
    Mar 2001
    Location
    Brooklyn, NY
    Posts
    1,335
    ive made 2 similar programs in c++. 1 in MFC and the other in Win32. Now it seems to me win32 isd larger in size than MFC. I thoughMFC bloats the code.
    - JayWare
    Live to love. Not to Hate

    Im to busy to have a site. But I got one and still working on it.

    http://dre3k.net/

  14. #54
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    You need the MFC DLLs though Link it statically and see the difference.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  15. #55

    Thread Starter
    Frenzied Member JasonLpz's Avatar
    Join Date
    Mar 2001
    Location
    Brooklyn, NY
    Posts
    1,335
    what? didnt quite understand. Also i test this program on other computers, win98 and winXP Pro. And i just use exe. I never moved a dll to another computer; so what dll's are you talking about. If i never use them with one.
    - JayWare
    Live to love. Not to Hate

    Im to busy to have a site. But I got one and still working on it.

    http://dre3k.net/

  16. #56
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Use Dependency Walker to check. You need the MFC DLLs which you cannot always guarantee. Sure, they might be included in XP, but when the system is already over a gig who cares, huh

    Try it on Windows 95/95, people still use that, therefore you must be portable.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  17. #57

    Thread Starter
    Frenzied Member JasonLpz's Avatar
    Join Date
    Mar 2001
    Location
    Brooklyn, NY
    Posts
    1,335
    at this moment i only make programs for xp and 98. Do you think i might need these dll's on ME? and how would i include them for redistribution?
    I found my program(s) use :
    Code:
    ADVAPI32.DLL
    GDI32.DLL
    IMESH BANNERKILLER.EXE
    KERNEL32.DLL
    MFC42D.DLL
    MFCO42D.DLL
    MSVCRTD.DLL
    USER32.DLL
    Last edited by JasonLpz; Feb 9th, 2003 at 06:33 PM.
    - JayWare
    Live to love. Not to Hate

    Im to busy to have a site. But I got one and still working on it.

    http://dre3k.net/

  18. #58
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    What is Dependency Walker and where can I get it?

  19. #59
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    It comes with VS, look in : <VS Directory>\Common\Tools\depends.exe
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  20. #60
    Hyperactive Member
    Join Date
    Sep 2001
    Posts
    396
    Originally posted by JasonLpz
    at this moment i only make programs for xp and 98. Do you think i might need these dll's on ME? and how would i include them for redistribution?
    I found my program(s) use :
    Code:
    ADVAPI32.DLL
    GDI32.DLL
    IMESH BANNERKILLER.EXE
    KERNEL32.DLL
    MFC42D.DLL
    MFCO42D.DLL
    MSVCRTD.DLL
    USER32.DLL
    You are not supposed to distribute the debug version of the dlls(note the D in MFC42D.DLL), as stated in the MS license agreement. By the way, does the WinME PC which you ran this program on, have VS/VC installed?

    By right, the program is not supposed to run as WinME OS and onwards, only have MFC42.DLL and MFCO42.DLL (release versions, note no D postfix)

  21. #61
    Hyperactive Member
    Join Date
    Sep 2001
    Posts
    396
    Originally posted by Darkwraith
    What is Dependency Walker and where can I get it?
    --> [start]-->[Programs]-->[Visual C++ 6.0]-->[Visual C++ 6.0 Tools]-->[Depends]

  22. #62
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    To see the real dependencies you should use the walker on a release build.

    Win98+ and Win2k+ should (!) have the MFC4.2 (VC++6) dlls distributed with them. In reality not all of them really do, parksie's PC for example didn't have them.

    If you compile with VC++7 then you need MFC7 which is not even distributed with WinXP.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width