LaunchFileAsync有时会工作,并且大部分时间都不起作用。 [英] LaunchFileAsync works at times and does not work most of the time.

查看:71
本文介绍了LaunchFileAsync有时会工作,并且大部分时间都不起作用。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试LAunchFileAsync。这有时会起作用,而不是大部分时间。这是我正在尝试的代码。 

I am trying LAunchFileAsync. This works at times and not most of the time. Here is the code that I am trying with. 

推荐答案

你能描述一下你看到的行为或错误吗?不起作用?使用这些API失败的最常见原因是由于指定路径中不存在该文件。

关联启动示例
(LaunchFileInput.xaml.cpp)可以可以轻松修改以测试您所追求的确切行为。

Can you describe the behavior or errors you see when it doesn't work? The most common reason for a failure using these APIs is due to the file not existing in the specified path. The Association launching sample (LaunchFileInput.xaml.cpp) can easily be modified to test the exact behavior you are after.


这篇关于LaunchFileAsync有时会工作,并且大部分时间都不起作用。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆