Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. VS.NET: Compartible with MFC6?

VS.NET: Compartible with MFC6?

Scheduled Pinned Locked Moved C / C++ / MFC
csharpvisual-studioquestionc++dotnet
11 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Philip Patrick
    wrote on last edited by
    #1

    I got a lil problem here. I have several projects built with Visual Studio 6. Recently switched to Visual Studio.NET and found that it compiles/linkages all projects using MFC7 dlls. Of course it is not working on OS that doesn't have .NET framework installed. And this is not a good point. So my question is: is it still possible to use MFC6 in Visual Studio .NET and how to do that? I even created a simple Test application with MFC, and tried it on Windows 98... "Get me MFC7 now!" it said :( I hope there is some way to do that, otherwise I'll have to bring the VS.NET back to store, no use of it then :( Philip Patrick Web-site: www.stpworks.com "Two beer or not two beer?" Shakesbeer

    A M P 3 Replies Last reply
    0
    • P Philip Patrick

      I got a lil problem here. I have several projects built with Visual Studio 6. Recently switched to Visual Studio.NET and found that it compiles/linkages all projects using MFC7 dlls. Of course it is not working on OS that doesn't have .NET framework installed. And this is not a good point. So my question is: is it still possible to use MFC6 in Visual Studio .NET and how to do that? I even created a simple Test application with MFC, and tried it on Windows 98... "Get me MFC7 now!" it said :( I hope there is some way to do that, otherwise I'll have to bring the VS.NET back to store, no use of it then :( Philip Patrick Web-site: www.stpworks.com "Two beer or not two beer?" Shakesbeer

      A Offline
      A Offline
      Anders Molin
      wrote on last edited by
      #2

      MFC 7 works perfectly fine without the .NET runtime installed... - Anders Money talks, but all mine ever says is "Goodbye!"

      1 Reply Last reply
      0
      • P Philip Patrick

        I got a lil problem here. I have several projects built with Visual Studio 6. Recently switched to Visual Studio.NET and found that it compiles/linkages all projects using MFC7 dlls. Of course it is not working on OS that doesn't have .NET framework installed. And this is not a good point. So my question is: is it still possible to use MFC6 in Visual Studio .NET and how to do that? I even created a simple Test application with MFC, and tried it on Windows 98... "Get me MFC7 now!" it said :( I hope there is some way to do that, otherwise I'll have to bring the VS.NET back to store, no use of it then :( Philip Patrick Web-site: www.stpworks.com "Two beer or not two beer?" Shakesbeer

        M Offline
        M Offline
        Michael Dunn
        wrote on last edited by
        #3

        Philip Patrick wrote: is it still possible to use MFC6 in Visual Studio .NET No, VS.NET comes with MFC 7 and that's what it uses. I'm an advocate of linking MFC and CRT statically so you never have to worry about the MFC DLLs. MFC7 does not use or require the .NET framework. --Mike-- Just released - RightClick-Encrypt v1.4 - Adds fast & easy file encryption to Explorer My really out-of-date homepage Sonork-100.19012 Acid_Helm

        M 1 Reply Last reply
        0
        • P Philip Patrick

          I got a lil problem here. I have several projects built with Visual Studio 6. Recently switched to Visual Studio.NET and found that it compiles/linkages all projects using MFC7 dlls. Of course it is not working on OS that doesn't have .NET framework installed. And this is not a good point. So my question is: is it still possible to use MFC6 in Visual Studio .NET and how to do that? I even created a simple Test application with MFC, and tried it on Windows 98... "Get me MFC7 now!" it said :( I hope there is some way to do that, otherwise I'll have to bring the VS.NET back to store, no use of it then :( Philip Patrick Web-site: www.stpworks.com "Two beer or not two beer?" Shakesbeer

          P Offline
          P Offline
          Pavel Klocek
          wrote on last edited by
          #4

          .NET framework is not needed. You need to distribute MFC7 dll files with your app. See informations about redistributable files in MSDN. Pavel Sonork 100.15206

          P A 2 Replies Last reply
          0
          • P Pavel Klocek

            .NET framework is not needed. You need to distribute MFC7 dll files with your app. See informations about redistributable files in MSDN. Pavel Sonork 100.15206

            P Offline
            P Offline
            Philip Patrick
            wrote on last edited by
            #5

            Yeah, thanx. Looked around, read some MSDN help that comes with VS.NET... Well redistributing MFC7 is better than the whole .NET framework, although it takes like 4Mb :( *sighs* Philip Patrick Web-site: www.stpworks.com "Two beer or not two beer?" Shakesbeer

            P 1 Reply Last reply
            0
            • P Philip Patrick

              Yeah, thanx. Looked around, read some MSDN help that comes with VS.NET... Well redistributing MFC7 is better than the whole .NET framework, although it takes like 4Mb :( *sighs* Philip Patrick Web-site: www.stpworks.com "Two beer or not two beer?" Shakesbeer

              P Offline
              P Offline
              Pavel Klocek
              wrote on last edited by
              #6

              Philip Patrick wrote: thanx My pleasure. Philip Patrick wrote: Well redistributing MFC7 is better than the whole .NET framework MFC libraries have nothing in common with .NET Framework except that MFC7 is part of VS.NET studio. MFC is classic unmanaged C++ library. .NET is from another world. Pavel Sonork 100.15206

              1 Reply Last reply
              0
              • P Pavel Klocek

                .NET framework is not needed. You need to distribute MFC7 dll files with your app. See informations about redistributable files in MSDN. Pavel Sonork 100.15206

                A Offline
                A Offline
                Ancient Dragon
                wrote on last edited by
                #7

                I have not used VC7 yet. If the .NET framework is not required for programs written with VC7, then what is .NET framework for?

                P 1 Reply Last reply
                0
                • A Ancient Dragon

                  I have not used VC7 yet. If the .NET framework is not required for programs written with VC7, then what is .NET framework for?

                  P Offline
                  P Offline
                  Pavel Klocek
                  wrote on last edited by
                  #8

                  You can write programs of two kinds using VC++ 7, unmanaged and managed. Unmanaged programs are using WIN32 API and optionally some libraries like MFC or ATL, nothing from .NET, it's the same programming as in previous versions with new IDE and some new features in libraries and compiler. Managed ones are interfacing with .NET framework using MS specific language extensions. .NET framework is an environment very similar to Java with bytecode(called MSIL here), garbage collector, objects and interfaces, rich libraries, see this[^]. Pavel Sonork 100.15206

                  1 Reply Last reply
                  0
                  • M Michael Dunn

                    Philip Patrick wrote: is it still possible to use MFC6 in Visual Studio .NET No, VS.NET comes with MFC 7 and that's what it uses. I'm an advocate of linking MFC and CRT statically so you never have to worry about the MFC DLLs. MFC7 does not use or require the .NET framework. --Mike-- Just released - RightClick-Encrypt v1.4 - Adds fast & easy file encryption to Explorer My really out-of-date homepage Sonork-100.19012 Acid_Helm

                    M Offline
                    M Offline
                    Mustafa Demirhan
                    wrote on last edited by
                    #9

                    Michael Dunn wrote: I'm an advocate of linking MFC and CRT statically so you never have to worry about the MFC DLLs. But doesn't it eat up all your memory if you have more than one of this kind of programs? Mustafa Demirhan http://www.macroangel.com Sonork ID 100.9935:zoltrix

                    They say I'm lazy but it takes all my time

                    M 1 Reply Last reply
                    0
                    • M Mustafa Demirhan

                      Michael Dunn wrote: I'm an advocate of linking MFC and CRT statically so you never have to worry about the MFC DLLs. But doesn't it eat up all your memory if you have more than one of this kind of programs? Mustafa Demirhan http://www.macroangel.com Sonork ID 100.9935:zoltrix

                      They say I'm lazy but it takes all my time

                      M Offline
                      M Offline
                      Michael Dunn
                      wrote on last edited by
                      #10

                      You're blowing things way out of proportion. It doesn't use "all" your memory. Each executable image will be larger, however that is preferable to having to debug screwy problems caused by different DLL versions, which will appear to be your fault because, hey, your program is crashing. --Mike-- Just released - RightClick-Encrypt v1.4 - Adds fast & easy file encryption to Explorer My really out-of-date homepage Sonork-100.19012 Acid_Helm

                      M 1 Reply Last reply
                      0
                      • M Michael Dunn

                        You're blowing things way out of proportion. It doesn't use "all" your memory. Each executable image will be larger, however that is preferable to having to debug screwy problems caused by different DLL versions, which will appear to be your fault because, hey, your program is crashing. --Mike-- Just released - RightClick-Encrypt v1.4 - Adds fast & easy file encryption to Explorer My really out-of-date homepage Sonork-100.19012 Acid_Helm

                        M Offline
                        M Offline
                        Mustafa Demirhan
                        wrote on last edited by
                        #11

                        Michael Dunn wrote: You're blowing things way out of proportion. Hehe. Ok. Sorry for that :rolleyes: Michael Dunn wrote: that is preferable to having to debug screwy problems caused by different DLL versions, which will appear to be your fault because, hey, your program is crashing. Sure, but there is always a trade-off :rolleyes: Mustafa Demirhan http://www.macroangel.com Sonork ID 100.9935:zoltrix

                        They say I'm lazy but it takes all my time

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups