gpt4 book ai didi

visual-c++ - VC++ Express Edition 中缺少 afxwin.h 文件

转载 作者:行者123 更新时间:2023-12-02 02:12:48 41 4
gpt4 key购买 nike

当我尝试将文件 VC++ 2005 运行到 VC++ 2008 时:

1>------ Build started: Project: canvas, Configuration: Debug Win32 ------  
1>Compiling...
1>canvasApp.cpp
1>c:\documents and settings\ram\my documents\visual studio 2008\demo\stdafx.h(1) : fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
1>canvasFrame.cpp
1>c:\documents and settings\ram\my documents\visual studio 2008\demo\stdafx.h(1) : fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
1>Generating Code...
1>Build log was saved at "file://c:\Documents and Settings\ram\My Documents\Visual Studio 2008\demo\Debug\BuildLog.htm"
1>canvas - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

最佳答案

发现这篇文章可能有帮助: http://social.msdn.microsoft.com/forums/en-US/Vsexpressvc/thread/7c274008-80eb-42a0-a79b-95f5afbf6528/

或者简单地说,afxwin.h 是 MFC,而 MFC 不包含在免费版本的 VC++(Express Edition)中。

关于visual-c++ - VC++ Express Edition 中缺少 afxwin.h 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5543523/

41 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com