[英]WinRT App with API that uses shared MFC dlls
We have a C++ desktop application using an old MFC GUI; 我们有一个使用旧MFC GUI的C ++桌面应用程序; we would like to move it to a Windows App.
我们想将其移至Windows应用程序。
We use some sdk (for GigE cameras, CameraLink grabbers, vision libraries) that need msvcrt and shared mfc dlls. 我们使用一些需要msvcrt和共享mfc dll的sdk(用于GigE相机,CameraLink采集卡,视觉库)。 Including
<afx.h>
in a Windows App does not work. 在Windows应用程序中包含
<afx.h>
不起作用。
Could be a solution packing everything in WinRT components or there are simpler ones (or none at all, and we must stay within desktop apps)? 可以是一个解决方案,包装WinRT组件中的所有内容,或者有更简单的(或者根本没有,我们必须留在桌面应用程序中)?
MFC cannot be used in a Windows Store app. MFC无法在Windows应用商店应用中使用。 The only option is to eliminate use of MFC from the components that you would like to use in a Windows Store app.
唯一的选择是从您希望在Windows应用商店应用中使用的组件中消除MFC的使用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.