【发布时间】:2017-09-15 01:55:55
【问题描述】:
一个Win32控制台应用程序可以由
启动create_task(Windows::ApplicationModel::FullTrustProcessLauncher::LaunchFullTrustProcessForCurrentAppAsync()).then([&] {});
和
await Windows.ApplicationModel.FullTrustProcessLauncher.LaunchFullTrustProcessForCurrentAppAsync();
遵循 AppService Bridge 示例。即使我不想输入/输出任何内容,也会显示一个通用窗口。我在 CreateProcess 中没有找到像 SW_HIDE 这样的参数。如何在 UWP 中启动后台 win32 控制台应用程序?
【问题讨论】:
标签: c# c++ winapi uwp desktop-bridge