Results 1 to 6 of 6

Thread: VC++ 6 Versus VC++.net

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2002
    Posts
    32

    VC++ 6 Versus VC++.net

    Hi I'm just about to start learning Visual C++, but I have one question before I start. Am I correct that with VC++ 6 you can create an application and run it on another PC without it needing any additional runtime files whereas with Visual C++ .net you need the .net framework to make it run ?

  2. #2
    Member
    Join Date
    Oct 2002
    Location
    Look out your window.
    Posts
    54
    I don't know much about VC++ 7, but VC++ 6.0 you still need the MFC runtime libraries, but Win2000 and up come with them in the base install... the rest I'm not positive on.

  3. #3

    Thread Starter
    Member
    Join Date
    Sep 2002
    Posts
    32
    For some reason I had got in into my head that with Visual C++ you don't need runtime files. Cheers for clearing that up. Out of interest is there any version of C++ that you don't need runtime files for eg. Borlands C++ builder ?

  4. #4
    Member
    Join Date
    Oct 2002
    Location
    Look out your window.
    Posts
    54
    Oh wait... my mistake... You can link MFC statically, so you don't need the runtime libraries...

  5. #5
    Fanatic Member twanvl's Avatar
    Join Date
    Dec 2001
    Posts
    771
    In VC6 you have four choices:
    1. Use native win32 api, no runtime needed
    2. Use MFC, link dynamicly, needs runtime
    3. Use MFC, link static, results in big .exe files
    4. Use some other non MFC solution (e.g. wxWindows)

    In VC7 you have all the choices you had in VC6, plus one additional choise:
    5. Use the .NET framework, requires huge runtime (something like 20 MB)

    VC7 also has better support for the C++ language (VC6's language support sucks), it probably optimizes a little better, and needs a faster computer (the IDE/compiler)

  6. #6
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    VC++7 optimizes a lot better than 6.

    If you're using Visual Studio.NET (= VC++7) you should have at least 256 MB RAM for good performance. I have 128 and it sometimes has very long loading phases (app stuck for 5+ seconds).
    On XP you should have even more RAM.

    Solutions other than Native API and MFC (like wxWindows) are likely to need runtimes as well, or produce big exes.

    The MFC runtimes of VC++6 came with Win98SE/2k/XP so there was a good chance the user might have them already (but not guaranteed). The MFC runtimes of VC++7 are not delivered together with any current windows version.
    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.

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