C++代码移植到NDK环境缺少windows.h之类的头文件?
最近在做本科毕业设计,是一个基于Android的DMB播放器(依靠DAB广播广播信号)。
我导师给我的参考资料都是基于Windows的播放器,我正在移植一些我工作时遇到的一些问题的C++代码。例如,我的导师给我的许多 C++ 代码中都引入了 afxwin.h 和 windows.h。
我的工作是Java服务器开发,我是一个Android新手和一个C++新手。
缺少的头文件看起来像这样
#include "StdAfx.h"
#include "mpeg_dec.h"
#include <afxwin.h> // MFC core and standard components
#include <afxext.h> // MFC extensions
#include <afxdisp.h> // MFC Automation classes
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
谢谢你的回答,这对我来说将是一个巨大的帮助(顺便说一句,我是一名来自中国的学生,英语写作不是我的强项,所以上面的一些内容来自谷歌翻译,谢谢您的理解!)
Recently I am doing my undergraduate graduation project, which is an Android-based DMB player (relying on DAB broadcast radio signals).
The reference materials my instructor gave me are all Windows-based players, and I am porting some C++ code I encountered some problems when I was working. For example, afxwin.h and windows.h were introduced into many of the C++ codes that my instructor gave me.
My job is Java server development, and I am an Android novice and a C++ novice.
The missing header file looks like this
#include "StdAfx.h"
#include "mpeg_dec.h"
#include <afxwin.h> // MFC core and standard components
#include <afxext.h> // MFC extensions
#include <afxdisp.h> // MFC Automation classes
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
Thank you for your answers, it will be a huge help to me (by the way, I am a student from China, English writing is not my strong point, so some of the above are from Google Translate, thank you for understanding!)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论