|
MFC CDaoDatabase uses ODBC to connect data, so no matter you are on your machine or someone else's machine, there should be no shortage of data DLLs, because ODBC is a public interface, and every Microsoft Windows has a driver to access the database .
Then the problem goes to other aspects, it may be caused by using other functions of MFC. For example, you may use "Use MFC in a Shared DLL" when compiling, then please use static library ( Static library) way to use MFC. If you compile the program to another PC and can not run normally, it may be that some dlls used by some controls are installed on your computer, and that dll is not in other PCs. In the VC ++ resource manager, see if the dll corresponding to the control you use is also available on other PCs. If not, copy the past. |
|