简体   繁体   English

从适用于Windows 7的桌面应用程序调用WinRT

[英]Calls into WinRT from desktop application that works on Windows 7

I need to use some of the WinRT APIs from my desktop app. 我需要使用桌面应用程序中的某些WinRT API。 The only issue is that my app needs to work on Windows 7 as well as 8 and 10. 唯一的问题是我的应用程序需要在Windows 7以及8和10上运行。

The WinRT APIs I want to use will augment the information that I can get from any Windows version. 我要使用的WinRT API将增加从任何Windows版本中可以获得的信息。

By referencing Windows.winmd and targeting 8.0 the app will no longer run on Windows 7. 通过引用Windows.winmd并定位到8.0,该应用将不再在Windows 7上运行。

What are the possibilities to make this work? 使这项工作可行的可能性是什么?

The answer is very clear and simple: On Windows 7, No. 答案非常简单明了:在Windows 7上,没有。

Mehdi 迈赫迪

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在维护Windows 7支持的同时在.NET桌面应用程序中引用WinRT / UWP库 - Referencing WinRT/UWP libraries in a .NET desktop application while maintaining support for Windows 7 Windows 10中的通知(winrt +桌面)不起作用子组 - notification in Windows 10 (winrt + desktop) Not work subgroup 如何从WinRT / Windows应用商店应用程序发送电子邮件? - How do I send an email from a WinRT/Windows Store application? WinRT - 在Windows启动时启动应用程序? - WinRT - Start an application on Windows boot? c#从windows服务到桌面应用程序 - c# from windows service to desktop application 从桌面运行Windows应用商店应用程序 - Run Windows Store Application from Desktop 黑客可以超越桌面应用程序的Internet http剩余呼叫吗? - Can a hacker surpass internet http rest calls from desktop application? 无法从Windows 7上的Windows服务启动桌面应用程序 - Cannot start desktop application from Windows service on Windows 7 如何在Windows 8 / WinRT中重置应用程序数据 - How to reset application data in Windows 8/WinRT 检测到从Winrt Windows Phone 8.1应用程序中的位置设置返回了用户 - Detect that user is returned from location settings in winrt windows phone 8.1 application
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM