Missing Dll for executable package of Visual Stdio 2008
-
I have built an executable package in release mode in VC++.Net 2008(MFC). The package is running in my PC well but in other PC that doesn't have Visual stdio, is showing dll(mfc90.dll, msvc90.dll etc ) missing. If I install Visual stdio 2008 redistribution package then it is working. Is there any way to run my package without installing Visual stdio 2008 redistribution package? How can I do this?
-
I have built an executable package in release mode in VC++.Net 2008(MFC). The package is running in my PC well but in other PC that doesn't have Visual stdio, is showing dll(mfc90.dll, msvc90.dll etc ) missing. If I install Visual stdio 2008 redistribution package then it is working. Is there any way to run my package without installing Visual stdio 2008 redistribution package? How can I do this?
By statically linking to the MFC libraries and to the C-runtime libraries.
Cédric Moonen Software developer
Charting control [v1.5] OpenGL game tutorial in C++ -
By statically linking to the MFC libraries and to the C-runtime libraries.
Cédric Moonen Software developer
Charting control [v1.5] OpenGL game tutorial in C++How can I statically link to MFC libraries and to the C-runtime libraries? will I copy all the missing dlls to the package?
-
How can I statically link to MFC libraries and to the C-runtime libraries? will I copy all the missing dlls to the package?
Look a bit in your project settings (I never used VC2008 before). For MFC, search for something like "Use of MFC" (it should be in the general section) and set it to "Use MFC in a static library". For C-runtime libraries, look for "Runtime library" (it should be under "C/C++" category -> "Code Generation") and set it to the non DLL version (you have several choices there, take the one that is selected but without the DLL at the end).
Cédric Moonen Software developer
Charting control [v1.5] OpenGL game tutorial in C++ -
Look a bit in your project settings (I never used VC2008 before). For MFC, search for something like "Use of MFC" (it should be in the general section) and set it to "Use MFC in a static library". For C-runtime libraries, look for "Runtime library" (it should be under "C/C++" category -> "Code Generation") and set it to the non DLL version (you have several choices there, take the one that is selected but without the DLL at the end).
Cédric Moonen Software developer
Charting control [v1.5] OpenGL game tutorial in C++I have done so but still dll missing message displaying.