DLLs for MFC
-
Hi! I've built MFC project with VS MFC wizzard, and have included my own source. It's working fine on my computer, but on other computer isn't, because it doesn't have reqired DLLs. My question is, how to attach necessery DLLs to my MFC project, to run it on other comuper whitch doesn't have reqired DLLs? Hope You got the point. Looking forward to hearing from You. Thanks!
-
Hi! I've built MFC project with VS MFC wizzard, and have included my own source. It's working fine on my computer, but on other computer isn't, because it doesn't have reqired DLLs. My question is, how to attach necessery DLLs to my MFC project, to run it on other comuper whitch doesn't have reqired DLLs? Hope You got the point. Looking forward to hearing from You. Thanks!
Try statically linking the MFC library to your DLL. You can do this in Main Menu: Project - Project Properties - Configuration Settings - General - MFC usage. Change this from shared MFC DLL to statically linking the MFC library. Best regards Dominik
_outp(0x64, 0xAD);
and__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do?? ;) (doesn't work on NT) -
Hi! I've built MFC project with VS MFC wizzard, and have included my own source. It's working fine on my computer, but on other computer isn't, because it doesn't have reqired DLLs. My question is, how to attach necessery DLLs to my MFC project, to run it on other comuper whitch doesn't have reqired DLLs? Hope You got the point. Looking forward to hearing from You. Thanks!
You need to copy the required dlls to the other computer's windows directory. This is what installers are used for. Try this installer its free and powerfull http://www.jrsoftware.org/isinfo.php[^] BTW which MFC dll is missing?
C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg
-
Hi! I've built MFC project with VS MFC wizzard, and have included my own source. It's working fine on my computer, but on other computer isn't, because it doesn't have reqired DLLs. My question is, how to attach necessery DLLs to my MFC project, to run it on other comuper whitch doesn't have reqired DLLs? Hope You got the point. Looking forward to hearing from You. Thanks!
you can to copy files dll in directory windows or directory application
-
Try statically linking the MFC library to your DLL. You can do this in Main Menu: Project - Project Properties - Configuration Settings - General - MFC usage. Change this from shared MFC DLL to statically linking the MFC library. Best regards Dominik
_outp(0x64, 0xAD);
and__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do?? ;) (doesn't work on NT) -
You need to copy the required dlls to the other computer's windows directory. This is what installers are used for. Try this installer its free and powerfull http://www.jrsoftware.org/isinfo.php[^] BTW which MFC dll is missing?
C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg
-
Monty v2.0 wrote:
You need to copy the required dlls to the other computer's windows directory. This is what installers are used for.
Yep i thought so, but how can i know all *.dll-s whitch are needed ? missed dlls - i.e. mfc70d.dll , msvcr70d.dll
eMtek wrote:
missed dlls - i.e. mfc70d.dll , msvcr70d.dll
:-D you have build the exe in *debug* mode, change to *release* mode and to test simple copy the required dlls (mfc70.dll , msvcr70.dll) without the 'd', if they are not there already
C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg
-
eMtek wrote:
missed dlls - i.e. mfc70d.dll , msvcr70d.dll
:-D you have build the exe in *debug* mode, change to *release* mode and to test simple copy the required dlls (mfc70.dll , msvcr70.dll) without the 'd', if they are not there already
C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg
-
Monty v2.0 wrote:
You need to copy the required dlls to the other computer's windows directory. This is what installers are used for.
Yep i thought so, but how can i know all *.dll-s whitch are needed ? missed dlls - i.e. mfc70d.dll , msvcr70d.dll
-
You need to copy the required dlls to the other computer's windows directory. This is what installers are used for. Try this installer its free and powerfull http://www.jrsoftware.org/isinfo.php[^] BTW which MFC dll is missing?
C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg