How to run MFC application
-
I have a little problem with distributing a program. As on other computers, which don't have installed VC6, don't exist some *.dll's, my application don't work. so, how do I have to register them during first install on computer?
-
I have a little problem with distributing a program. As on other computers, which don't have installed VC6, don't exist some *.dll's, my application don't work. so, how do I have to register them during first install on computer?
You need to ensure that all DLLS that your program explicitly and implicitly links to are available on the target machine. This includes, but is not limited to, MFC42.DLL and MFC42U.DLL. The DEPENDS.EXE utility can help you out with some of this. If you do need to install files along with your program, make sure it is legal to do so. Blindly copying files does have repercussions.
-
I have a little problem with distributing a program. As on other computers, which don't have installed VC6, don't exist some *.dll's, my application don't work. so, how do I have to register them during first install on computer?
Also read the documentation regarding to redistributable files, is in a file redist.txt (I think) that will make clear if it is legal to redistribute or not... i.e. you cannot redistribute a debug linked exe. Hope this helps. PS: use dependency walker (depends.exe) and you'll see which files are you missing.