include mfc42.dll in exe? (vc++ 6.0) [modified]
-
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
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 -
-
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 -
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.
-
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 -
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.
-
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.
-
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 -
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
-
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
-
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 -
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
-
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
-
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
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++
-
:)
rolfhorror wrote:
VC++ mfc and temp libs
Take the details of it... i think there are more than 2 or 3 levels...
- NS -
ok, ill check it out. thanks for the help. :-)
-
ok, ill check it out. thanks for the help. :-)
-
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
-
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!
tanx, this is awesome! :-)
-
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