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. include mfc42.dll in exe? (vc++ 6.0) [modified]

include mfc42.dll in exe? (vc++ 6.0) [modified]

Scheduled Pinned Locked Moved C / C++ / MFC
c++questionlounge
15 Posts 5 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.
  • R Offline
    R Offline
    rolfhorror
    wrote on last edited by
    #1

    is there any way of including the mfc42.dll file (or it's content) in the exe file, so that you dont have to add the mfcfile along with the executable when releasing the final product to the end user? or is any way to not use mfc42.dll at all when developing a mfc dialog app? (vc++ 6.0 standard edition) off topic: is there any new servicepacks for vc++ 6.0, i've got sp6, is this the latest? thx! -- modified at 8:00 Saturday 1st September, 2007 sp1 -> sp6

    N P PJ ArendsP G 4 Replies Last reply
    0
    • R rolfhorror

      is there any way of including the mfc42.dll file (or it's content) in the exe file, so that you dont have to add the mfcfile along with the executable when releasing the final product to the end user? or is any way to not use mfc42.dll at all when developing a mfc dialog app? (vc++ 6.0 standard edition) off topic: is there any new servicepacks for vc++ 6.0, i've got sp6, is this the latest? thx! -- modified at 8:00 Saturday 1st September, 2007 sp1 -> sp6

      N Offline
      N Offline
      Nishad S
      wrote on last edited by
      #2

      rolfhorror wrote:

      is there any way of including the mfc42.dll file (or it's content) in the exe file

      You can link it as static library. It is set via project settings => General.

      rolfhorror wrote:

      is there any new servicepacks for vc++ 6.0

      As far as I know, SP6 is there. But I dont know from where it is available.

      - NS -

      R 2 Replies Last reply
      0
      • N Nishad S

        rolfhorror wrote:

        is there any way of including the mfc42.dll file (or it's content) in the exe file

        You can link it as static library. It is set via project settings => General.

        rolfhorror wrote:

        is there any new servicepacks for vc++ 6.0

        As far as I know, SP6 is there. But I dont know from where it is available.

        - NS -

        R Offline
        R Offline
        rolfhorror
        wrote on last edited by
        #3

        thanx for answering, i'll try the linking thing. sorry about the servicepack, i meant i've got sp6 not sp1, maybe 6 is the latest :-) thanx.

        1 Reply Last reply
        0
        • N Nishad S

          rolfhorror wrote:

          is there any way of including the mfc42.dll file (or it's content) in the exe file

          You can link it as static library. It is set via project settings => General.

          rolfhorror wrote:

          is there any new servicepacks for vc++ 6.0

          As far as I know, SP6 is there. But I dont know from where it is available.

          - NS -

          R Offline
          R Offline
          rolfhorror
          wrote on last edited by
          #4

          how exactly would you link mfc42.dll in Project->Settings->General where do i go from there? Theres no options only "Use MFC in a Shared DLL" How do i statically link mfc42.dll to my exe? cant seem to find any articles about that.

          N 1 Reply Last reply
          0
          • R rolfhorror

            how exactly would you link mfc42.dll in Project->Settings->General where do i go from there? Theres no options only "Use MFC in a Shared DLL" How do i statically link mfc42.dll to my exe? cant seem to find any articles about that.

            N Offline
            N Offline
            Nishad S
            wrote on last edited by
            #5

            rolfhorror wrote:

            Theres no options only "Use MFC in a Shared DLL"

            Really? You probably not installed the static libraries... :( If it is fine, there will be another option, "Use MFC in a Static Library"

            - NS -

            R 1 Reply Last reply
            0
            • N Nishad S

              rolfhorror wrote:

              Theres no options only "Use MFC in a Shared DLL"

              Really? You probably not installed the static libraries... :( If it is fine, there will be another option, "Use MFC in a Static Library"

              - NS -

              R Offline
              R Offline
              rolfhorror
              wrote on last edited by
              #6

              i guess i havent got static libs installed, strange, isn't static libs common? think i need vc++ 6.0 Pro.Edition, i only have the Standard ed, and its without the static libs :-( is there any other options? maybe programatically add som lines of code? thanx! :-) -- modified at 9:06 Saturday 1st September, 2007

              N 1 Reply Last reply
              0
              • R rolfhorror

                i guess i havent got static libs installed, strange, isn't static libs common? think i need vc++ 6.0 Pro.Edition, i only have the Standard ed, and its without the static libs :-( is there any other options? maybe programatically add som lines of code? thanx! :-) -- modified at 9:06 Saturday 1st September, 2007

                N Offline
                N Offline
                Nishad S
                wrote on last edited by
                #7

                rolfhorror wrote:

                how can i install them

                You just need to modify the installation from the "Add or Remove Programs" in control panel. Select Add/Remove when setup screen is shown... And select the options of static libraries...

                - NS -

                R 1 Reply Last reply
                0
                • N Nishad S

                  rolfhorror wrote:

                  how can i install them

                  You just need to modify the installation from the "Add or Remove Programs" in control panel. Select Add/Remove when setup screen is shown... And select the options of static libraries...

                  - NS -

                  R Offline
                  R Offline
                  rolfhorror
                  wrote on last edited by
                  #8

                  ok, i'll check it out. thanx. :) edit: i only have these options: VC++ dev studio VC++ runtime libs VC++ mfc and temp libs VC++ build tools tools data access activex controls --- no static libs.. only something called "static crt libs" in a submenu, but this was installed. like i said before, i think i may have the light version of vc++ 6.0(standard not pro) which is without static libs. -- modified at 9:17 Saturday 1st September, 2007

                  N 1 Reply Last reply
                  0
                  • R rolfhorror

                    ok, i'll check it out. thanx. :) edit: i only have these options: VC++ dev studio VC++ runtime libs VC++ mfc and temp libs VC++ build tools tools data access activex controls --- no static libs.. only something called "static crt libs" in a submenu, but this was installed. like i said before, i think i may have the light version of vc++ 6.0(standard not pro) which is without static libs. -- modified at 9:17 Saturday 1st September, 2007

                    N Offline
                    N Offline
                    Nishad S
                    wrote on last edited by
                    #9

                    :)

                    rolfhorror wrote:

                    VC++ mfc and temp libs

                    Take the details of it... i think there are more than 2 or 3 levels...

                    - NS -

                    R 1 Reply Last reply
                    0
                    • R rolfhorror

                      is there any way of including the mfc42.dll file (or it's content) in the exe file, so that you dont have to add the mfcfile along with the executable when releasing the final product to the end user? or is any way to not use mfc42.dll at all when developing a mfc dialog app? (vc++ 6.0 standard edition) off topic: is there any new servicepacks for vc++ 6.0, i've got sp6, is this the latest? thx! -- modified at 8:00 Saturday 1st September, 2007 sp1 -> sp6

                      P Offline
                      P Offline
                      prasad_som
                      wrote on last edited by
                      #10

                      rolfhorror wrote:

                      is there any new servicepacks for vc++ 6.0, i've got sp6, is this the latest?

                      VC++ 6.0 is no longer supported. SP06 is last of service packs for it.


                      Prasad MS MVP -  VC++

                      1 Reply Last reply
                      0
                      • N Nishad S

                        :)

                        rolfhorror wrote:

                        VC++ mfc and temp libs

                        Take the details of it... i think there are more than 2 or 3 levels...

                        - NS -

                        R Offline
                        R Offline
                        rolfhorror
                        wrote on last edited by
                        #11

                        ok, ill check it out. thanks for the help. :-)

                        N 1 Reply Last reply
                        0
                        • R rolfhorror

                          ok, ill check it out. thanks for the help. :-)

                          N Offline
                          N Offline
                          Nishad S
                          wrote on last edited by
                          #12

                          Welcome :)

                          - NS -

                          1 Reply Last reply
                          0
                          • R rolfhorror

                            is there any way of including the mfc42.dll file (or it's content) in the exe file, so that you dont have to add the mfcfile along with the executable when releasing the final product to the end user? or is any way to not use mfc42.dll at all when developing a mfc dialog app? (vc++ 6.0 standard edition) off topic: is there any new servicepacks for vc++ 6.0, i've got sp6, is this the latest? thx! -- modified at 8:00 Saturday 1st September, 2007 sp1 -> sp6

                            PJ ArendsP Offline
                            PJ ArendsP Offline
                            PJ Arends
                            wrote on last edited by
                            #13

                            http://www.codeproject.com/dll/staticlink.asp[^]


                            You may be right I may be crazy -- Billy Joel -- Within you lies the power for good - Use it!

                            Within you lies the power for good; Use it!

                            R 1 Reply Last reply
                            0
                            • PJ ArendsP PJ Arends

                              http://www.codeproject.com/dll/staticlink.asp[^]


                              You may be right I may be crazy -- Billy Joel -- Within you lies the power for good - Use it!

                              R Offline
                              R Offline
                              rolfhorror
                              wrote on last edited by
                              #14

                              tanx, this is awesome! :-)

                              1 Reply Last reply
                              0
                              • R rolfhorror

                                is there any way of including the mfc42.dll file (or it's content) in the exe file, so that you dont have to add the mfcfile along with the executable when releasing the final product to the end user? or is any way to not use mfc42.dll at all when developing a mfc dialog app? (vc++ 6.0 standard edition) off topic: is there any new servicepacks for vc++ 6.0, i've got sp6, is this the latest? thx! -- modified at 8:00 Saturday 1st September, 2007 sp1 -> sp6

                                G Offline
                                G Offline
                                Gary R Wheeler
                                wrote on last edited by
                                #15

                                Service pack 6 was the final one for VC6.


                                Software Zen: delete this;

                                Fold With Us![^]

                                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