Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/windows/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
launchurisync不';不能在Windows 8.1上工作 我试图在Windows 81/Windows 8.1手机上使用默认应用程序打开外部链接,通用的C++应用程序,不幸的是它不起作用。它也不会崩溃,下面是代码(来自Microsoft站点): auto-uri=ref新窗口::基础::uri(“http://www.bing.com"); void主页::DefaultLaunch() { //启动URI 并发::任务启动操作(Windows::系统::启动器::启动同步(uri)); 启动操作。然后([](bool success) { 如果(成功) { //URI发布 } 其他的 { //URI启动失败 } }); }_C++_Windows_Windows Phone 8.1 - Fatal编程技术网

launchurisync不';不能在Windows 8.1上工作 我试图在Windows 81/Windows 8.1手机上使用默认应用程序打开外部链接,通用的C++应用程序,不幸的是它不起作用。它也不会崩溃,下面是代码(来自Microsoft站点): auto-uri=ref新窗口::基础::uri(“http://www.bing.com"); void主页::DefaultLaunch() { //启动URI 并发::任务启动操作(Windows::系统::启动器::启动同步(uri)); 启动操作。然后([](bool success) { 如果(成功) { //URI发布 } 其他的 { //URI启动失败 } }); }

launchurisync不';不能在Windows 8.1上工作 我试图在Windows 81/Windows 8.1手机上使用默认应用程序打开外部链接,通用的C++应用程序,不幸的是它不起作用。它也不会崩溃,下面是代码(来自Microsoft站点): auto-uri=ref新窗口::基础::uri(“http://www.bing.com"); void主页::DefaultLaunch() { //启动URI 并发::任务启动操作(Windows::系统::启动器::启动同步(uri)); 启动操作。然后([](bool success) { 如果(成功) { //URI发布 } 其他的 { //URI启动失败 } }); },c++,windows,windows-phone-8.1,C++,Windows,Windows Phone 8.1,有什么想法吗?我有互联网客户端的能力 auto uri = ref new Windows::Foundation::Uri("http://www.bing.com"); void MainPage::DefaultLaunch() { // Launch the URI concurrency::task<bool> launchUriOperation(Windows::System::Launcher::LaunchUriAsync(uri)); laun

有什么想法吗?我有互联网客户端的能力

auto uri = ref new Windows::Foundation::Uri("http://www.bing.com");

void MainPage::DefaultLaunch()
{
   // Launch the URI
   concurrency::task<bool> launchUriOperation(Windows::System::Launcher::LaunchUriAsync(uri));
   launchUriOperation.then([](bool success)
   {
      if (success)
      {
         // URI launched
      }
      else
      {
         // URI launch failed
      }
   });
}