Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/kotlin/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Windows 7 MFC资源Vista与Win7的兼容性_Windows 7_Mfc_Visual Studio 2005_Windows Vista - Fatal编程技术网

Windows 7 MFC资源Vista与Win7的兼容性

Windows 7 MFC资源Vista与Win7的兼容性,windows-7,mfc,visual-studio-2005,windows-vista,Windows 7,Mfc,Visual Studio 2005,Windows Vista,最初的应用程序是用VS6 MFC为WinXP开发的,然后移植到VS2005 Vista,在Vista中运行良好。但是,当安装在Win7中时,应用程序运行时不会崩溃,但用户界面会混乱。所有窗口控件似乎都排列在主窗口的左边缘。 在Vista中使用VS2005创建的此应用程序能否在Win7中正常运行?或者它是否需要在Win7中编译和链接才能在Win7中正常运行?最有可能的解释是,您的程序中存在错误,或者更确切地说,它对Windows做出了无效的假设:在旧系统上使用旧版本的Visual Studio构建

最初的应用程序是用VS6 MFC为WinXP开发的,然后移植到VS2005 Vista,在Vista中运行良好。但是,当安装在Win7中时,应用程序运行时不会崩溃,但用户界面会混乱。所有窗口控件似乎都排列在主窗口的左边缘。
在Vista中使用VS2005创建的此应用程序能否在Win7中正常运行?或者它是否需要在Win7中编译和链接才能在Win7中正常运行?

最有可能的解释是,您的程序中存在错误,或者更确切地说,它对Windows做出了无效的假设:在旧系统上使用旧版本的Visual Studio构建的正确编写的程序在Windows 7上可以正常工作。和以往一样,仅仅因为在旧版本的Windows上运行了一些东西并不能证明它是“正确的”

没有任何简单的快捷方式可以做到这一点:您必须调试您的应用程序,以找出它的问题所在